Skip to content

Commit 4d37a03

Browse files
committed
Enable the unicorn/prefer-dom-node-remove ESLint plugin rule
Please see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-dom-node-remove.md
1 parent 7c7b297 commit 4d37a03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"unicorn/no-instanceof-array": "error",
5151
"unicorn/no-useless-spread": "error",
5252
"unicorn/prefer-date-now": "error",
53+
"unicorn/prefer-dom-node-remove": "error",
5354
"unicorn/prefer-string-starts-ends-with": "error",
5455

5556
// Possible errors

0 commit comments

Comments
 (0)