From 4cac23638af7c59ddd0f4e8cfc891ac3624d89be Mon Sep 17 00:00:00 2001 From: splincode Date: Sat, 18 Nov 2023 00:08:53 +0300 Subject: [PATCH] feat(eslint-plugin-experience): add `no-namespace` --- projects/eslint-plugin-experience/all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/eslint-plugin-experience/all.js b/projects/eslint-plugin-experience/all.js index 93337778..0cdc78e0 100644 --- a/projects/eslint-plugin-experience/all.js +++ b/projects/eslint-plugin-experience/all.js @@ -412,6 +412,7 @@ module.exports = { 'error', {ignoreParameters: true}, ], + '@typescript-eslint/no-namespace': ['error', {allowDeclarations: true}], '@typescript-eslint/no-non-null-asserted-optional-chain': 'error', '@typescript-eslint/no-shadow': 'error', '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error', @@ -829,7 +830,6 @@ module.exports = { '@typescript-eslint/consistent-type-imports': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/no-explicit-any': 'off', - '@typescript-eslint/no-namespace': ['error', {allowDeclarations: true}], '@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-shadow': 'off', '@typescript-eslint/no-unnecessary-condition': 'off',