feat(typescript): Rule "no-explicit-any"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 22:33:16 +04:00
parent 1b2f53b28a
commit 2cb3cc32ed
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 8 additions and 1 deletions

View File

@ -355,7 +355,7 @@
- [ ] "no-dynamic-delete"
- [ ] "no-empty-function"
- [X] "no-empty-interface"
- [ ] "no-explicit-any"
- [X] "no-explicit-any"
- [ ] "no-extra-non-null-assertion"
- [ ] "no-extra-parens"
- [ ] "no-extra-semi"

View File

@ -39,6 +39,13 @@
"allowSingleExtends": false
}
],
"@typescript-eslint/no-explicit-any": [
"warn",
{
"fixToUnknown": false,
"ignoreRestArgs": false
}
],
"@typescript-eslint/quotes": [
"error",
"double",