Skip to content

Commit

Permalink
feat: exclude workers in vue eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Jan 14, 2025
1 parent 95e73c9 commit 373feae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion templates/vue-example/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default [

{
name: 'app/files-to-ignore',
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**', '**/public/workers/**'],
},

...pluginVue.configs['flat/essential'],
Expand All @@ -22,4 +22,9 @@ export default [
files: ['src/**/__tests__/*'],
},
skipFormatting,
{
rules: {
"vue/multi-word-component-names": "off"
}
},
]
7 changes: 6 additions & 1 deletion templates/vue-starter/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default [

{
name: 'app/files-to-ignore',
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**', '**/public/workers/**'],
},

...pluginVue.configs['flat/essential'],
Expand All @@ -22,4 +22,9 @@ export default [
files: ['src/**/__tests__/*'],
},
skipFormatting,
{
rules: {
"vue/multi-word-component-names": "off"
}
}
]

0 comments on commit 373feae

Please sign in to comment.