diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 9 |
2 files changed, 10 insertions, 1 deletions
@@ -205,7 +205,7 @@ - [ ] "no-unsafe-negation" - [ ] "no-unused-expressions" - [ ] "no-unused-labels" -- [ ] "no-unused-vars" +- [X] "no-unused-vars" - [ ] "no-use-before-define" - [ ] "no-useless-backreference" - [ ] "no-useless-call" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 3c57015..0ec8660 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -105,6 +105,15 @@ "allowIndentationTabs": true } ], + "no-unused-vars": [ + "error", + { + "args": "after-used", + "caughtErrors": "all", + "ignoreRestSiblings": false, + "vars": "all" + } + ], "object-curly-newline": [ "error", { |