From 07a5bddd6b41c94c86dd492eaf1d775d16aaf70e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 00:08:06 +0400 Subject: feat(typescript): Rule "no-namespace" 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 2093e2f..55a5216 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -60,6 +60,13 @@ "ignoreReadonlyClassProperties": true } ], + "@typescript-eslint/no-namespace": [ + "error", + { + "allowDeclarations": true, + "allowDefinitionFiles": true + } + ], "@typescript-eslint/quotes": [ "error", "double", -- cgit v1.2.3