feat(typescript): Rule "no-inferrable-types"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov committed 2020-02-14 00:05:32 +04:00
1 parent e4814ec7a5
commit 933e1f6356
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -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"
+3
View File
@@ -46,6 +46,9 @@
"ignoreRestArgs": false
}
],
"@typescript-eslint/no-inferrable-types": [
"off"
],
"@typescript-eslint/no-magic-numbers": [
"warn",
{