Skip to content

Commit d698309

Browse files
fix: Disable TypeScript ESLint rules for explicit any and namespace
1 parent 87beb66 commit d698309

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ export default tseslint.config(
88
rules: {
99
"semi": ["warn", "always"],
1010
"indent": ["warn", "tab", { "SwitchCase": 1 }],
11-
"@typescript-eslint/no-explicit-any": "off"
11+
"@typescript-eslint/no-explicit-any": "off",
12+
"@typescript-eslint/no-namespace": "off",
1213
},
1314
files: ['src/**/*.ts'],
1415
languageOptions: {

src/compare.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ function compare (a: unknown, b: unknown): CompareResult
2929
return comparePrimitives<any>(a, b);
3030
}
3131

32-
3332
namespace compare
3433
{
3534
/**

0 commit comments

Comments
 (0)