summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:58:35 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:58:35 +0300
commit37432c1b01bfd2898d7b9db592fbfe299d674ea9 (patch)
tree9acfec59d7585ec1d52efedb98200d65fdac6e2b /src
parentdf848834f582a1cba6e275d4dd408eeb95f5ef26 (diff)
downloadeslint-config-37432c1b01bfd2898d7b9db592fbfe299d674ea9.tar.xz
eslint-config-37432c1b01bfd2898d7b9db592fbfe299d674ea9.zip
feat(typescript): Rule "no-unused-vars"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/typescript/default.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index a2253a2..41577d8 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -78,6 +78,15 @@
]
}
],
+ "@typescript-eslint/no-unused-vars": [
+ "error",
+ {
+ "args": "after-used",
+ "caughtErrors": "all",
+ "ignoreRestSiblings": false,
+ "vars": "all"
+ }
+ ],
"@typescript-eslint/quotes": [
"error",
"double",
@@ -129,6 +138,9 @@
"no-magic-numbers": [
"off"
],
+ "no-unused-vars": [
+ "off"
+ ],
"quotes": [
"off"
],