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", "$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": [
"error",
{
"definedTags": ["__NO_SIDE_EFFECTS__"] "definedTags": ["__NO_SIDE_EFFECTS__"]
}] }
]
}, },
"overrides": [ "overrides": [
{ {