Skip to content

Commit

Permalink
chore: update eslint to v9 + run lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gugustinette committed Aug 5, 2024
1 parent bf9733b commit 11c51d4
Show file tree
Hide file tree
Showing 9 changed files with 729 additions and 657 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

4 changes: 0 additions & 4 deletions .eslintrc

This file was deleted.

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

export default createConfigForNuxt({
features: {
stylistic: true,
tooling: true,
},
dirs: {
src: ['src'],
},
})
.append({
ignores: ['node_modules', 'dist', 'playground', 'docs'],
})
/*
.override('nuxt/typescript/rules', {
rules: {
// Required while MapLibre's types are not updated
'@typescript-eslint/no-explicit-any': 'off',
},
})
*/
.override('nuxt/vue/rules', {
rules: {
'vue/multi-word-component-names': 'off',
},
})
Loading

0 comments on commit 11c51d4

Please sign in to comment.