mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
chore: replace .eslintignore
file with 'ignorePatterns' (#22547)
This commit is contained in:
parent
2562c0dbd9
commit
70fe659ac9
@ -1,5 +0,0 @@
|
|||||||
dist
|
|
||||||
node_modules
|
|
||||||
packages/schema/schema
|
|
||||||
**/*.tmpl.*
|
|
||||||
sw.js
|
|
21
.eslintrc
21
.eslintrc
@ -1,13 +1,17 @@
|
|||||||
{
|
{
|
||||||
|
"ignorePatterns": [
|
||||||
|
"dist",
|
||||||
|
"node_modules",
|
||||||
|
"packages/schema/schema",
|
||||||
|
"**/*.tmpl.*",
|
||||||
|
"sw.js"
|
||||||
|
],
|
||||||
"$schema": "https://json.schemastore.org/eslintrc",
|
"$schema": "https://json.schemastore.org/eslintrc",
|
||||||
"globals": {
|
"globals": {
|
||||||
"NodeJS": true,
|
"NodeJS": true,
|
||||||
"$fetch": true
|
"$fetch": true
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": ["jsdoc", "no-only-tests"],
|
||||||
"jsdoc",
|
|
||||||
"no-only-tests"
|
|
||||||
],
|
|
||||||
"extends": [
|
"extends": [
|
||||||
"plugin:jsdoc/recommended",
|
"plugin:jsdoc/recommended",
|
||||||
"@nuxtjs/eslint-config-typescript",
|
"@nuxtjs/eslint-config-typescript",
|
||||||
@ -96,9 +100,12 @@
|
|||||||
"ignoreRestSiblings": true
|
"ignoreRestSiblings": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"jsdoc/check-tag-names": ["error", {
|
"jsdoc/check-tag-names": [
|
||||||
"definedTags": ["__NO_SIDE_EFFECTS__"]
|
"error",
|
||||||
}]
|
{
|
||||||
|
"definedTags": ["__NO_SIDE_EFFECTS__"]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user