Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
ieedan committed Nov 27, 2024
1 parent c66cf1a commit 8ef97ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/addons/eslint/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default defineAddon({
const ignores = ['build/', '.svelte-kit/', 'dist/', '.vercel/', '.netlify/'];

const ignoresConfig = object.create({
ignores: common.expressionFromString(`[${ignores.join(', ')}]`)
ignores: common.expressionFromString(`[${ignores.map((i) => `"${i}"`).join(', ')}]`)
});
eslintConfigs.push(ignoresConfig);

Expand Down

0 comments on commit 8ef97ac

Please sign in to comment.