Skip to content

Commit

Permalink
chore: disable eslint for public dir in next (#7333)
Browse files Browse the repository at this point in the history
* chore: disable eslint for public dir in next

* chore: changeset
  • Loading branch information
lsliwaradioluz authored Nov 26, 2024
1 parent 9b8d334 commit eeee410
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/forty-mirrors-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vue-storefront/eslint-config": patch
---

[CHANGED] Added `/public` directory to ignored destinations in config for nextjs.
3 changes: 3 additions & 0 deletions engineering-toolkit/eslint-config/src/nextjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export function nextjs(config, ...overrides) {
};

return concat(
defineFlatConfig({
ignores: ['**/public/*'],
}),
defineFlatConfig({
files: filesObj.general,
languageOptions: {
Expand Down

0 comments on commit eeee410

Please sign in to comment.