Skip to content

Commit d0bd7db

Browse files
committed
update eslint config comments
1 parent 69c9ff0 commit d0bd7db

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

eslint.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const __dirname = path.dirname(__filename);
2222
// --- EXPORT ESLINT CONFIG ---
2323
export default tseslint.config(
2424
// 1. Global Ignores
25-
// It's best practice to explicitly ignore directories you never want to lint.
2625
{
2726
ignores: ['node_modules/', '.next/', 'dist/', 'coverage/', '.DS_Store'],
2827
},
@@ -33,9 +32,8 @@ export default tseslint.config(
3332
prettierConfig, // Disables ESLint rules that conflict with Prettier. IMPORTANT: Must be after other configs.
3433

3534
// 3. Configuration for App Source Code (Next.js with Type-Aware Linting)
36-
// This is the core of your configuration. It targets only your app's TS/TSX files.
3735
{
38-
files: ['src/**/*.{ts,tsx}', 'src/ui/**/*.{ts,tsx}'], // Covers both common `src` and your specific `src/ui`
36+
files: ['src/ui/**/*.{ts,tsx}'],
3937
languageOptions: {
4038
parser: tseslint.parser,
4139
parserOptions: {

0 commit comments

Comments
 (0)