Some more cleanup
This commit is contained in:
@@ -42,5 +42,16 @@ export default tseslint.config(
|
||||
'@typescript-eslint/no-unused-vars': 'off',
|
||||
},
|
||||
},
|
||||
// Rules for scripts
|
||||
{
|
||||
files: ['scripts/**/*.js'], // Target all JS files in the scripts directory
|
||||
languageOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
sourceType: 'module',
|
||||
},
|
||||
env: {
|
||||
node: true, // Enable Node.js global variables and Node.js scoping
|
||||
},
|
||||
},
|
||||
eslintConfigPrettier,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user