Skip to content

Commit

Permalink
Merge pull request #1842 from mightyiam/rm-no-undef-init
Browse files Browse the repository at this point in the history
fix: rm no-undef-init
  • Loading branch information
mightyiam authored Oct 20, 2024
2 parents 01af499 + 7038ca4 commit 0ae92ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ export const eslintRules: Record<string, TSESLint.SharedConfig.RuleEntry> = {
'no-template-curly-in-string': ['error'],
'no-this-before-super': ['error'],
'no-throw-literal': ['off'],
'no-undef-init': ['error'],
'no-unexpected-multiline': ['error'],
'no-unmodified-loop-condition': ['error'],
'no-unneeded-ternary': ['error', { defaultAssignment: false }],
Expand Down
1 change: 0 additions & 1 deletion src/test/_expected-exported-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export const expectedEslintRules: Record<
'no-template-curly-in-string': ['error'],
'no-this-before-super': ['error'],
'no-throw-literal': ['off'],
'no-undef-init': ['error'],
'no-unexpected-multiline': ['error'],
'no-unmodified-loop-condition': ['error'],
'no-unneeded-ternary': ['error', { defaultAssignment: false }],
Expand Down
6 changes: 6 additions & 0 deletions src/test/_intentionally-unused-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,10 @@ export const intentionallyUnusedRules: string[] = [
'n/no-restricted-require',

'no-restricted-imports',

// ## Complicated

// Conflicts with `@typescript-eslint/init-declarations`
// https://github.com/mightyiam/eslint-config-love/issues/1710
'no-undef-init',
]

0 comments on commit 0ae92ad

Please sign in to comment.