summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 21:33:16 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 21:33:16 +0300
commit2cb3cc32edb324469fb0ee2d50d545808c7b2e94 (patch)
treec0d87e5fbfeb390287c5a3c7778a8f60e324492e /src
parent1b2f53b28a26d8919a6ffddfa12720c804782436 (diff)
downloadeslint-config-2cb3cc32edb324469fb0ee2d50d545808c7b2e94.tar.xz
eslint-config-2cb3cc32edb324469fb0ee2d50d545808c7b2e94.zip
feat(typescript): Rule "no-explicit-any"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/typescript/default.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 5786671..d8596f5 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -39,6 +39,13 @@
"allowSingleExtends": false
}
],
+ "@typescript-eslint/no-explicit-any": [
+ "warn",
+ {
+ "fixToUnknown": false,
+ "ignoreRestArgs": false
+ }
+ ],
"@typescript-eslint/quotes": [
"error",
"double",