diff --git a/.changeset/forty-mirrors-approve.md b/.changeset/forty-mirrors-approve.md new file mode 100644 index 0000000000..39a038668d --- /dev/null +++ b/.changeset/forty-mirrors-approve.md @@ -0,0 +1,5 @@ +--- +"@vue-storefront/eslint-config": patch +--- + +[CHANGED] Added `/public` directory to ignored destinations in config for nextjs. diff --git a/engineering-toolkit/eslint-config/src/nextjs.js b/engineering-toolkit/eslint-config/src/nextjs.js index 32d23b5d1a..a69d557451 100644 --- a/engineering-toolkit/eslint-config/src/nextjs.js +++ b/engineering-toolkit/eslint-config/src/nextjs.js @@ -27,6 +27,9 @@ export function nextjs(config, ...overrides) { }; return concat( + defineFlatConfig({ + ignores: ['**/public/*'], + }), defineFlatConfig({ files: filesObj.general, languageOptions: {