Skip to content

Commit 7073aa3

Browse files
committed
chore: adjust ESLint included files config
1 parent 4b09277 commit 7073aa3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

eslint.config.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,16 @@ import globals from 'globals';
77
import importPlugin from 'eslint-plugin-import';
88
import react from 'eslint-plugin-react';
99

10-
// Global ignores (no changes here)
1110
export default defineConfig(
11+
// Global ignores
1212
{
1313
ignores: [
1414
'**/node_modules/**',
1515
'**/dist/**',
1616
'**/build/**',
1717
'**/.next/**',
1818
'**/coverage/**',
19-
'**/*.config.js',
20-
'**/*.config.ts',
2119
'**/generated/**',
22-
'.eslintrc.js',
2320
'**/*.spec.ts',
2421
'**/*.test.ts',
2522
],
@@ -31,7 +28,7 @@ export default defineConfig(
3128

3229
// Main configuration object
3330
{
34-
files: ['**/*.ts', '**/*.tsx'],
31+
files: ['**/*.{js,jsx,mjs,cjs,ts,tsx}'],
3532
languageOptions: {
3633
globals: { ...globals.node, ...globals.es2021, ...globals.bun },
3734
},

0 commit comments

Comments
 (0)