diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 15:28:10 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 15:28:10 +0300 |
commit | 4fa76141e14459c930985686bd0fab9fc7c7346e (patch) | |
tree | 62b12f53aa08fcd41690e7318aaf8dc9cab2c059 /src/rules/eslint.json | |
parent | eaa0627dae6ef868be9711576cbe4108fb9918f3 (diff) | |
download | eslint-config-4fa76141e14459c930985686bd0fab9fc7c7346e.tar.xz eslint-config-4fa76141e14459c930985686bd0fab9fc7c7346e.zip |
feat(eslint): Rule "no-unused-vars"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/eslint.json')
-rw-r--r-- | src/rules/eslint.json | 9 |
1 files changed, 9 insertions, 0 deletions
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", { |