Skip to content

Commit

Permalink
chore: update eslint to v9 (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien authored Oct 10, 2024
1 parent e81333d commit 21eda77
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 528 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

11 changes: 11 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import withNuxt from "./.nuxt/eslint.config.mjs"

export default withNuxt({
rules: {
'vue/multi-word-component-names': 'off'
},
ignores: [
'dist',
'node_modules'
]
})
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default defineNuxtConfig({
modules: ['nuxt-applicationinsights'],
modules: ['nuxt-applicationinsights', '@nuxt/eslint'],
imports: {
autoImport: false,
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"dependencies": {
"@microsoft/applicationinsights-core-js": "^3.1.0",
"@microsoft/applicationinsights-web": "^3.1.0",
"@nuxt/eslint": "^0.5.1",
"defu": "^6.1.2",
"mlly": "^1.6.1",
"nitro-applicationinsights": "^0.13.0"
Expand All @@ -51,7 +52,7 @@
"@nuxt/test-utils": "^3.7.4",
"@types/node": "^20.0.0",
"changelogen": "^0.5.5",
"eslint": "^8.50.0",
"eslint": "^9.9.0",
"nitropack": "^2.9.7",
"nuxt": "^3.13.1",
"nuxt-applicationinsights": "link:./",
Expand Down
Loading

0 comments on commit 21eda77

Please sign in to comment.