Skip to content

Commit

Permalink
chore(lint): migrate to @nuxt/eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed May 30, 2024
1 parent b486f66 commit 9062618
Show file tree
Hide file tree
Showing 28 changed files with 1,232 additions and 2,252 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

14 changes: 14 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { createConfigForNuxt } from '@nuxt/eslint-config/flat'

export default createConfigForNuxt({
features: {
tooling: true,
stylistic: true,
},
})
.overrideRules({
'vue/multi-word-component-names': 'off',
'vue/component-name-in-template-casing': ['error', 'kebab-case', {
registeredComponentsOnly: false,
}],
})
Loading

0 comments on commit 9062618

Please sign in to comment.