diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 23:05:32 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 23:05:32 +0300 |
commit | 933e1f6356267c273704aafb34b07ee9752dc826 (patch) | |
tree | 32949f6af454252de0f9b6826e2cc4621827f2d4 | |
parent | e4814ec7a54eb944bad99650bed770c40a00ddee (diff) | |
download | eslint-config-933e1f6356267c273704aafb34b07ee9752dc826.tar.xz eslint-config-933e1f6356267c273704aafb34b07ee9752dc826.zip |
feat(typescript): Rule "no-inferrable-types"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -363,7 +363,7 @@ - [ ] "no-floating-promises" - [ ] "no-for-in-array" - [ ] "no-implied-eval" -- [ ] "no-inferrable-types" +- [X] "no-inferrable-types" - [X] "no-magic-numbers" - [ ] "no-misused-new" - [ ] "no-misused-promises" diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 283cdb8..2093e2f 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -46,6 +46,9 @@ "ignoreRestArgs": false } ], + "@typescript-eslint/no-inferrable-types": [ + "off" + ], "@typescript-eslint/no-magic-numbers": [ "warn", { |