From 751259e0b0271eeeaa8a5db1de3255c22b88b437 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Mon, 20 May 2024 06:40:19 +0200 Subject: [PATCH] chore: remove redundant `eslint-plugin-regexp` (#27271) --- eslint.config.mjs | 4 ---- package.json | 1 - pnpm-lock.yaml | 3 --- 3 files changed, 8 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 8f4fc6a467..c4e282b673 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -5,7 +5,6 @@ import noOnlyTests from 'eslint-plugin-no-only-tests' import typegen from 'eslint-typegen' // @ts-expect-error missing types import perfectionist from 'eslint-plugin-perfectionist' -import regex from 'eslint-plugin-regexp' export default createConfigForNuxt({ features: { @@ -217,9 +216,6 @@ export default createConfigForNuxt({ 'vue/multi-word-component-names': 'off', }, }, - - // @ts-ignore types misaligned - regex.configs['flat/recommended'], ) // Generate type definitions for the eslint config diff --git a/package.json b/package.json index 88c308a08f..f5c4d8d571 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,6 @@ "eslint": "9.2.0", "eslint-plugin-no-only-tests": "3.1.0", "eslint-plugin-perfectionist": "2.10.0", - "eslint-plugin-regexp": "2.5.0", "eslint-typegen": "0.2.4", "execa": "9.1.0", "fs-extra": "11.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0e141d0713..16acc6d012 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -77,9 +77,6 @@ importers: eslint-plugin-perfectionist: specifier: 2.10.0 version: 2.10.0(eslint@9.2.0)(typescript@5.4.5)(vue-eslint-parser@9.4.2(eslint@9.2.0)) - eslint-plugin-regexp: - specifier: 2.5.0 - version: 2.5.0(eslint@9.2.0) eslint-typegen: specifier: 0.2.4 version: 0.2.4(eslint@9.2.0)