mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-05 20:34:15 +02:00
20 lines
560 B
JavaScript
20 lines
560 B
JavaScript
import globals from 'globals';
|
|
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
import { stylisticRules } from '../eslint.config.mjs';
|
|
import stylistic from '@stylistic/eslint-plugin';
|
|
|
|
export default defineConfig([
|
|
globalIgnores(['foundry/**/*']),
|
|
{
|
|
files: ['**/*.{js,mjs,cjs}'],
|
|
plugins: {
|
|
'@stylistic': stylistic
|
|
},
|
|
languageOptions: { globals: globals.node },
|
|
rules: {
|
|
'no-undef': 'error',
|
|
'no-unused-vars': 0,
|
|
...stylisticRules
|
|
}
|
|
}
|
|
]);
|