Skip to content

Commit 0f54b26

Browse files
committedApr 22, 2022
Remove non-needed rule modification
1 parent ef4a0e1 commit 0f54b26

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed
 

Diff for: ‎README.md

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ Then add a `.eslintrc` with the following:
8181
* :mute: [`mocha/no-mocha-arrows`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-mocha-arrows.md)*deactivated* – while [Mocha discourages arrow functions](https://mochajs.org/#arrow-functions) I find it more readable to use them + I find it safe when type checking ones test files as then the type checking will notify one when one tries to do a `this.setTimeout()` or similar in an arrow function where there is no such local context
8282

8383
* :mute: [`n/no-process-exit`](https://eslint.org/docs/rules/no-process-exit)*deactivated* – added by `plugin:n/recommended`, but deactivated in favor of [`unicorn/no-process-exit`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-process-exit.md)
84-
* :wrench: [`n/no-unsupported-features/es-syntax`](https://github.com/weiran-zsd/eslint-plugin-node/blob/master/docs/rules/no-unsupported-features/es-syntax.md)*changed* – set to always allow dynamic `import()`, pending [correct detection](https://github.com/weiran-zsd/eslint-plugin-node/issues/250) of support
8584

8685
* :mute: [`security/detect-object-injection`](https://github.com/nodesecurity/eslint-plugin-security#detect-object-injection)*deactivated* – causes too many false errors
8786
* :mute: [`security/detect-unsafe-regex`](https://github.com/nodesecurity/eslint-plugin-security#detect-unsafe-regex)*deactivated* – at least early on wasn't very stable

Diff for: ‎eslintrc.json

-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
"n/prefer-promises/fs": "warn",
7070
"n/no-process-env": "warn",
7171
"n/no-sync": "error",
72-
"n/no-unsupported-features/es-syntax": ["error", { "ignores": ["dynamicImport"] }],
7372

7473
"promise/prefer-await-to-then": "error",
7574

0 commit comments

Comments
 (0)
Please sign in to comment.