mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
move eslint config to package.json
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
dist
|
||||
node_modules
|
||||
package.json
|
||||
tsconfig.json
|
||||
vercel.json
|
||||
12
.eslintrc
12
.eslintrc
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"extends": [
|
||||
"@nuxtjs/eslint-config-typescript"
|
||||
],
|
||||
"rules": {
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"off"
|
||||
],
|
||||
"vue/multi-word-component-names": "off",
|
||||
"vue/no-multiple-template-root": "off"
|
||||
}
|
||||
}
|
||||
15
package.json
15
package.json
@@ -61,5 +61,18 @@
|
||||
"patchedDependencies": {
|
||||
"nuxt@3.0.0-rc.13": "patches/nuxt@3.0.0-rc.13.patch"
|
||||
}
|
||||
}
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"@nuxtjs/eslint-config-typescript"
|
||||
],
|
||||
"rules": {
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"off"
|
||||
],
|
||||
"vue/multi-word-component-names": "off",
|
||||
"vue/no-multiple-template-root": "off"
|
||||
}
|
||||
},
|
||||
"eslintIgnore": ["*.json", "node_modules", "*.md"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user