Skip to content

Commit b35cfef

Browse files
committed
chore: Update ESLint config and fix linting issues
1 parent 54f6ff1 commit b35cfef

File tree

4 files changed

+1136
-64
lines changed

4 files changed

+1136
-64
lines changed

.eslintrc.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,21 @@
1212
},
1313
"parserOptions": {
1414
"ecmaVersion": 2022,
15-
"sourceType": "module"
15+
"sourceType": "module",
16+
"project": "./tsconfig.json"
1617
},
1718
"rules": {
1819
"@typescript-eslint/explicit-function-return-type": "off",
19-
"@typescript-eslint/no-explicit-any": "warn",
20+
"@typescript-eslint/no-explicit-any": "off",
2021
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
21-
}
22+
},
23+
"overrides": [
24+
{
25+
"files": ["**/*.test.ts"],
26+
"rules": {
27+
"@typescript-eslint/no-unused-vars": "off",
28+
"@typescript-eslint/no-explicit-any": "off"
29+
}
30+
}
31+
]
2232
}

0 commit comments

Comments
 (0)