Skip to content

Commit 0af42ae

Browse files
benoitfclaude
andcommitted
chore(deps): remove eslint-plugin-redundant-undefined
The plugin is unmaintained and pulls braces@3.0.3 (GHSA-vfj7-8cjw-p6xm) through @typescript-eslint/typescript-estree@6 -> globby@11. The check is already covered by sonarjs/no-redundant-optional, enabled through sonarjs.configs.recommended. Same as podman-desktop/extension-kubernetes-contexts#774 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Florent Benoit <fbenoit@redhat.com> Change-Id: I48c6b8e30928fefcc6a0d4475191376dbb62b534
1 parent 3fb71b9 commit 0af42ae

3 files changed

Lines changed: 0 additions & 118 deletions

File tree

‎eslint.config.mjs‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import etc from 'eslint-plugin-etc';
2828
import fileProgress from 'eslint-plugin-file-progress';
2929
import importPlugin from 'eslint-plugin-import';
3030
import noNull from 'eslint-plugin-no-null';
31-
import redundantUndefined from 'eslint-plugin-redundant-undefined';
3231
import simpleImportSort from 'eslint-plugin-simple-import-sort';
3332
import sonarjs from 'eslint-plugin-sonarjs';
3433
import svelte from 'eslint-plugin-svelte';
@@ -65,7 +64,6 @@ export default [
6564
etc: fixupPluginRules(etc),
6665
import: fixupPluginRules(importPlugin),
6766
'no-null': fixupPluginRules(noNull),
68-
'redundant-undefined': fixupPluginRules(redundantUndefined),
6967
'simple-import-sort': fixupPluginRules(simpleImportSort),
7068
vitest,
7169
},
@@ -191,9 +189,6 @@ export default [
191189
// disable this rule as it's not compliant with eslint v9
192190
'etc/no-commented-out-code': 'off',
193191

194-
// redundant-undefined custom rules
195-
'redundant-undefined/redundant-undefined': 'error',
196-
197192
// simple-import-sort custom rules
198193
'simple-import-sort/imports': 'error',
199194
'simple-import-sort/exports': 'error',

‎package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"eslint-plugin-file-progress": "^4.0.0",
4545
"eslint-plugin-import": "^2.32.0",
4646
"eslint-plugin-no-null": "^1.0.2",
47-
"eslint-plugin-redundant-undefined": "^1.0.0",
4847
"eslint-plugin-simple-import-sort": "^14.0.0",
4948
"eslint-plugin-sonarjs": "^4.2.2",
5049
"eslint-plugin-svelte": "^3.23.0",

‎pnpm-lock.yaml‎

Lines changed: 0 additions & 112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)