diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -367,7 +367,7 @@ - [X] "no-magic-numbers" - [ ] "no-misused-new" - [ ] "no-misused-promises" -- [ ] "no-namespace" +- [X] "no-namespace" - [ ] "no-non-null-asserted-optional-chain" - [ ] "no-non-null-assertion" - [ ] "no-parameter-properties" 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", |