mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-02-15 02:43:20 +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');
|
||||
|
||||
module.exports = [
|
||||
{
|
||||
ignores: ['.opencode/dist/**', '.cursor/**', 'node_modules/**']
|
||||
},
|
||||
js.configs.recommended,
|
||||
{
|
||||
languageOptions: {
|
||||
|
||||
Reference in New Issue
Block a user