mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
fix: add global ignores to ESLint config for dist and cursor dirs
Prevent ESLint from parsing .opencode/dist/ (ES modules with sourceType: commonjs mismatch) and .cursor/ (duplicated files). Uses flat config global ignores pattern (standalone ignores object).
This commit is contained in:
parent
e4f4c2c36d
commit
f56fb331ac
1 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,9 @@ const js = require('@eslint/js');
|
||||||
const globals = require('globals');
|
const globals = require('globals');
|
||||||
|
|
||||||
module.exports = [
|
module.exports = [
|
||||||
|
{
|
||||||
|
ignores: ['.opencode/dist/**', '.cursor/**', 'node_modules/**']
|
||||||
|
},
|
||||||
js.configs.recommended,
|
js.configs.recommended,
|
||||||
{
|
{
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue