Skip to content

Commit d2f7ae0

Browse files
hesreallyhimclaude
andcommitted
fix: add scripts/*.mjs to allowDefaultProject for editor compatibility
The typescript-eslint project service errors when the editor opens .mjs files not covered by allowDefaultProject, even if they're in the global ignores list. Adding the pattern suppresses the editor parsing error. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1668913 commit d2f7ae0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default defineConfig(
2323
'test/integration/*.ts',
2424
'vitest.config.ts',
2525
'vitest.integration.config.ts',
26+
'scripts/*.mjs',
2627
],
2728
defaultProject: 'tsconfig.test.json',
2829
},

0 commit comments

Comments
 (0)