mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08: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:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user