Skip to content

Commit eeee410

Browse files
chore: disable eslint for public dir in next (#7333)
* chore: disable eslint for public dir in next * chore: changeset
1 parent 9b8d334 commit eeee410

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@vue-storefront/eslint-config": patch
3+
---
4+
5+
[CHANGED] Added `/public` directory to ignored destinations in config for nextjs.

engineering-toolkit/eslint-config/src/nextjs.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export function nextjs(config, ...overrides) {
2727
};
2828

2929
return concat(
30+
defineFlatConfig({
31+
ignores: ['**/public/*'],
32+
}),
3033
defineFlatConfig({
3134
files: filesObj.general,
3235
languageOptions: {

0 commit comments

Comments
 (0)