Skip to content

Commit abd29ec

Browse files
committed
Update eslint.config.js
1 parent ba5d06c commit abd29ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eslint.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default [
88
js.configs.recommended,
99
eslintPluginPrettierRecommended,
1010
importPlugin.flatConfigs.recommended,
11-
...tseslint.configs.recommendedTypeChecked.map((config) => {
11+
...tseslint.configs.recommendedTypeCheckedOnly.map((config) => {
1212
return {
1313
files: ["lib/**"],
1414
...config,
@@ -41,9 +41,12 @@ export default [
4141
semi: "error",
4242

4343
// For now we want to focus on the exposed types rather than the internals.
44+
"@typescript-eslint/no-unsafe-argument": 0,
4445
"@typescript-eslint/no-unsafe-assignment": 0,
4546
"@typescript-eslint/no-unsafe-call": 0,
4647
"@typescript-eslint/no-unsafe-member-access": 0,
48+
// Incorrectly yells at static functions
49+
"@typescript-eslint/unbound-method": 0
4750
},
4851
},
4952
];

0 commit comments

Comments
 (0)