From 70fe659ac950d790f69089dc5abcafdd395a13c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20G=C5=82owala?= Date: Tue, 8 Aug 2023 23:32:13 +0200 Subject: [PATCH] chore: replace `.eslintignore` file with 'ignorePatterns' (#22547) --- .eslintignore | 5 ----- .eslintrc | 21 ++++++++++++++------- 2 files changed, 14 insertions(+), 12 deletions(-) delete mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 65939590c1..0000000000 --- a/.eslintignore +++ /dev/null @@ -1,5 +0,0 @@ -dist -node_modules -packages/schema/schema -**/*.tmpl.* -sw.js diff --git a/.eslintrc b/.eslintrc index cbeda1b409..8cc17845b5 100644 --- a/.eslintrc +++ b/.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": [ {