From 184879f3611953de6e14514bd920542ca16c70b6 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 22:26:55 +0400 Subject: feat(typescript): Rule "interface-name-prefix" Signed-off-by: Valentin Popov --- src/rules/typescript/default.json | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 206e1a9..5c2b40a 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -26,6 +26,13 @@ "outerIIFEBody": 1 } ], + "@typescript-eslint/interface-name-prefix": [ + "error", + { + "allowUnderscorePrefix": false, + "prefixWithI": "always" + } + ], "@typescript-eslint/quotes": [ "error", "double", -- cgit v1.2.3