fix: linter issues

This commit is contained in:
K1ngfish3r
2026-04-23 01:04:42 +05:00
parent 5e195b7f53
commit 2396df38bb
111 changed files with 2738 additions and 2160 deletions
+9 -1
View File
@@ -165,10 +165,11 @@ export default tseslint.config(
},
},
{
files: ['**/*.{ts,tsx,mts,cts,js}'],
files: ['**/*.{ts,tsx,mts,cts,js,cjs}'],
ignores: ['./plugins/*/*.ts', './plugins/multisrc/*/template.ts'],
rules: {
'no-unused-vars': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/consistent-type-definitions': ['error', 'type'],
@@ -191,7 +192,14 @@ export default tseslint.config(
globals: {
...globals.serviceworker,
...globals.browser,
...globals.node,
},
},
},
{
files: ['**/fictioneer/custom/*/*.js'],
rules: {
'no-undef': 'off',
},
},
);