Skip to content

Commit 6e1181e

Browse files
committed
chore: update eslint
1 parent de89a0d commit 6e1181e

File tree

4 files changed

+190
-548
lines changed

4 files changed

+190
-548
lines changed

packages/nuxt/.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
playground
12
dist
23
node_modules
34
typed-router.d.ts

packages/nuxt/.eslintrc

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2+
"root": true,
23
"extends": [
3-
"@nuxtjs/eslint-config-typescript"
4+
"@nuxt/eslint-config"
45
],
56
"rules": {
67
// TS already checks this
@@ -26,6 +27,6 @@
2627
"functions": "only-multiline"
2728
}
2829
],
29-
"vue/require-v-for-key": "off",
30+
"vue/require-v-for-key": "off"
3031
}
3132
}

packages/nuxt/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"funding": "https://github.com/sponsors/posva",
3131
"scripts": {
3232
"build": "nuxt-module-build build",
33-
"lint": "eslint --ext .ts --ignore-path .gitignore src",
33+
"lint": "eslint src",
3434
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l nuxt-vuefire -r 1",
3535
"dev": "nuxi dev playground",
3636
"dev:build": "nuxi build playground",
@@ -61,9 +61,9 @@
6161
},
6262
"devDependencies": {
6363
"@firebase/app-types": "^0.9.0",
64+
"@nuxt/eslint-config": "^0.2.0",
6465
"@nuxt/module-builder": "^0.5.4",
6566
"@nuxt/schema": "^3.8.2",
66-
"@nuxtjs/eslint-config-typescript": "^12.1.0",
6767
"eslint": "^8.55.0",
6868
"firebase": "^10.7.0",
6969
"firebase-admin": "^11.11.1",

0 commit comments

Comments
 (0)