Skip to content

Commit

Permalink
feat!: @typescript-eslint/no-useless-empty-export
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Sep 28, 2024
1 parent 535b52b commit 2fcd608
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ export const tseslintRules: Record<string, TSESLint.SharedConfig.RuleEntry> = {
},
],
'@typescript-eslint/no-useless-constructor': ['error'],
'@typescript-eslint/no-useless-empty-export': ['error'],
'@typescript-eslint/no-wrapper-object-types': ['error'],
'@typescript-eslint/non-nullable-type-assertion-style': ['error'],
'@typescript-eslint/only-throw-error': [
Expand Down
1 change: 1 addition & 0 deletions src/test/_expected-exported-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ export const expectedTseslintRules: Record<
},
],
'@typescript-eslint/no-useless-constructor': ['error'],
'@typescript-eslint/no-useless-empty-export': ['error'],
'@typescript-eslint/no-wrapper-object-types': ['error'],
'@typescript-eslint/non-nullable-type-assertion-style': ['error'],
'@typescript-eslint/only-throw-error': [
Expand Down
1 change: 0 additions & 1 deletion src/test/_rules_to_consider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ export const promiseRulesToConsider = [
]

export const tseslintRulesToConsider = [
'@typescript-eslint/no-useless-empty-export',
'@typescript-eslint/parameter-properties',
'@typescript-eslint/prefer-as-const',
'@typescript-eslint/prefer-destructuring',
Expand Down

0 comments on commit 2fcd608

Please sign in to comment.