Skip to content

Commit 851e08a

Browse files
committed
refactor: linting configuration
1 parent 019eba0 commit 851e08a

5 files changed

Lines changed: 9556 additions & 9570 deletions

File tree

biome.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

lib/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,11 @@ const plugin = options => {
7979
if (node.attrs.tag) {
8080
node.tag = node.attrs.tag
8181

82-
// biome-ignore lint: not safe
8382
delete node.attrs.tag
8483
}
8584

8685
// Check if should render as inline
87-
if (Object.prototype.hasOwnProperty.call(node.attrs, 'inline')) {
86+
if (Object.hasOwn(node.attrs, 'inline')) {
8887
if (node.attrs.inline === '' || node.attrs.inline) {
8988
inline = true
9089
}
@@ -111,7 +110,6 @@ const plugin = options => {
111110
})
112111
}
113112

114-
// biome-ignore lint: not safe
115113
delete node.attrs.src
116114
}
117115
}

0 commit comments

Comments
 (0)