Skip to content

Commit 7038ca4

Browse files
committed
fix: rm no-undef-init
closes #1710
1 parent 01af499 commit 7038ca4

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/rules.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,6 @@ export const eslintRules: Record<string, TSESLint.SharedConfig.RuleEntry> = {
349349
'no-template-curly-in-string': ['error'],
350350
'no-this-before-super': ['error'],
351351
'no-throw-literal': ['off'],
352-
'no-undef-init': ['error'],
353352
'no-unexpected-multiline': ['error'],
354353
'no-unmodified-loop-condition': ['error'],
355354
'no-unneeded-ternary': ['error', { defaultAssignment: false }],

src/test/_expected-exported-value.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ export const expectedEslintRules: Record<
9393
'no-template-curly-in-string': ['error'],
9494
'no-this-before-super': ['error'],
9595
'no-throw-literal': ['off'],
96-
'no-undef-init': ['error'],
9796
'no-unexpected-multiline': ['error'],
9897
'no-unmodified-loop-condition': ['error'],
9998
'no-unneeded-ternary': ['error', { defaultAssignment: false }],

src/test/_intentionally-unused-rules.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,10 @@ export const intentionallyUnusedRules: string[] = [
4949
'n/no-restricted-require',
5050

5151
'no-restricted-imports',
52+
53+
// ## Complicated
54+
55+
// Conflicts with `@typescript-eslint/init-declarations`
56+
// https://github.com/mightyiam/eslint-config-love/issues/1710
57+
'no-undef-init',
5258
]

0 commit comments

Comments
 (0)