From 1b2f53b28a26d8919a6ffddfa12720c804782436 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 22:29:42 +0400 Subject: [PATCH] feat(typescript): Rule "no-empty-interface" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/typescript/default.json | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index f67a8fd..5223d8f 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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",