diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 21:33:16 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 21:33:16 +0300 |
commit | 2cb3cc32edb324469fb0ee2d50d545808c7b2e94 (patch) | |
tree | c0d87e5fbfeb390287c5a3c7778a8f60e324492e /src | |
parent | 1b2f53b28a26d8919a6ffddfa12720c804782436 (diff) | |
download | eslint-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.json | 7 |
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", |