diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 21:29:42 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 21:29:42 +0300 |
commit | 1b2f53b28a26d8919a6ffddfa12720c804782436 (patch) | |
tree | f44359c9f8d75f2221c571566f43bfb2630dff22 | |
parent | 184879f3611953de6e14514bd920542ca16c70b6 (diff) | |
download | eslint-config-1b2f53b28a26d8919a6ffddfa12720c804782436.tar.xz eslint-config-1b2f53b28a26d8919a6ffddfa12720c804782436.zip |
feat(typescript): Rule "no-empty-interface"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -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" diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 5c2b40a..5786671 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -33,6 +33,12 @@ "prefixWithI": "always" } ], + "@typescript-eslint/no-empty-interface": [ + "warn", + { + "allowSingleExtends": false + } + ], "@typescript-eslint/quotes": [ "error", "double", |