mirror of https://github.com/nuxt/nuxt.git
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",
|
||||
"globals": {
|
||||
"NodeJS": true,
|
||||
"$fetch": true
|
||||
},
|
||||
"plugins": [
|
||||
"jsdoc",
|
||||
"no-only-tests"
|
||||
],
|
||||
"plugins": ["jsdoc", "no-only-tests"],
|
||||
"extends": [
|
||||
"plugin:jsdoc/recommended",
|
||||
"@nuxtjs/eslint-config-typescript",
|
||||
|
@ -96,9 +100,12 @@
|
|||
"ignoreRestSiblings": true
|
||||
}
|
||||
],
|
||||
"jsdoc/check-tag-names": ["error", {
|
||||
"definedTags": ["__NO_SIDE_EFFECTS__"]
|
||||
}]
|
||||
"jsdoc/check-tag-names": [
|
||||
"error",
|
||||
{
|
||||
"definedTags": ["__NO_SIDE_EFFECTS__"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue