Skip to content

Commit f2154de

Browse files
fix(eslint): Add .next dir to ignores
1 parent 04f2325 commit f2154de

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/silly-goats-crash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tcd-devkit/eslint-preset-next': patch
3+
---
4+
5+
Add .next dir to ignores

packages/eslint-presets/eslint-preset-next/src/next-preset.linter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { reactHooksConfig } from '@tcd-devkit/eslint-config-react-hooks';
1111
import { tsConfig } from '@tcd-devkit/eslint-config-ts';
1212

1313
const ignoresConfig = globalIgnores(
14-
['**/dist/**', '**/node_modules/**', '**/build/**'],
14+
['**/dist/**', '**/node_modules/**', '**/build/**', '**/.next/**'],
1515
'@tcd-devkit/eslint-config/ignores',
1616
);
1717

0 commit comments

Comments
 (0)