Skip to content

Commit

Permalink
Merge pull request #1757 from mightyiam/no-shadow
Browse files Browse the repository at this point in the history
chore: intentionally not use */no-shadow
  • Loading branch information
mightyiam authored Sep 21, 2024
2 parents 0f83e0d + 1c68c5a commit 8b68bf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/_intentionally-unused-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ export const intentionallyUnusedRules: string[] = [
'n/no-restricted-import',
'n/no-restricted-require',
'no-restricted-imports',

// Too strict
'@typescript-eslint/no-shadow',
'no-shadow',
]
2 changes: 0 additions & 2 deletions src/test/_rules_to_consider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export const rulesToConsider = [
'@typescript-eslint/no-shadow',
'@typescript-eslint/no-unnecessary-condition',
'@typescript-eslint/no-unnecessary-parameter-property-assignment',
'@typescript-eslint/no-unnecessary-qualifier',
Expand Down Expand Up @@ -157,7 +156,6 @@ export const rulesToConsider = [
'no-restricted-syntax',
'no-script-url',
'no-setter-return',
'no-shadow',
'no-ternary',
'no-undef',
'no-undefined',
Expand Down

0 comments on commit 8b68bf3

Please sign in to comment.