chore: replace `.eslintignore` file with 'ignorePatterns' (#22547)

This commit is contained in:
Damian Głowala 2023-08-08 23:32:13 +02:00 committed by GitHub
parent 2562c0dbd9
commit 70fe659ac9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 12 deletions

View File

@ -1,5 +0,0 @@
dist
node_modules
packages/schema/schema
**/*.tmpl.*
sw.js

View File

@ -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": [
{