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
This commit is contained in:
Jonas Jenwald 2021-11-16 15:51:33 +01:00
parent 4ef1a129fa
commit 4e2c2fafc9

View File

@ -50,6 +50,7 @@
"unicorn/no-instanceof-array": "error",
"unicorn/no-useless-spread": "error",
"unicorn/prefer-date-now": "error",
"unicorn/prefer-dom-node-remove": "error",
"unicorn/prefer-string-starts-ends-with": "error",
// Possible errors