diff --git a/apps/oxlint/fixtures/typescript_eslint/eslintrc.json b/apps/oxlint/fixtures/typescript_eslint/eslintrc.json index 35ed3856d2a6d..c7773313f7cd0 100644 --- a/apps/oxlint/fixtures/typescript_eslint/eslintrc.json +++ b/apps/oxlint/fixtures/typescript_eslint/eslintrc.json @@ -1,6 +1,7 @@ { "rules": { "no-loss-of-precision": "off", - "@typescript-eslint/no-loss-of-precision": "error" + "@typescript-eslint/no-loss-of-precision": "error", + "@typescript-eslint/no-namespace": "warn" } } diff --git a/crates/oxc_linter/src/rules/typescript/no_namespace.rs b/crates/oxc_linter/src/rules/typescript/no_namespace.rs index 2a33a5bbc0e19..5bf15bee26ec1 100644 --- a/crates/oxc_linter/src/rules/typescript/no_namespace.rs +++ b/crates/oxc_linter/src/rules/typescript/no_namespace.rs @@ -37,7 +37,7 @@ declare_oxc_lint!( /// declare namespace foo {} /// ``` NoNamespace, - correctness + restriction ); impl Rule for NoNamespace {