feat(typescript): Rule "no-empty-interface"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov committed 2020-02-13 22:29:42 +04:00
1 parent 184879f361
commit 1b2f53b28a
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -354,7 +354,7 @@
- [ ] "no-dupe-class-members"
- [ ] "no-dynamic-delete"
- [ ] "no-empty-function"
- [ ] "no-empty-interface"
- [X] "no-empty-interface"
- [ ] "no-explicit-any"
- [ ] "no-extra-non-null-assertion"
- [ ] "no-extra-parens"
+6
View File
@@ -33,6 +33,12 @@
"prefixWithI": "always"
}
],
"@typescript-eslint/no-empty-interface": [
"warn",
{
"allowSingleExtends": false
}
],
"@typescript-eslint/quotes": [
"error",
"double",