Skip to content

Commit

Permalink
feat!: @typescript-eslint/no-redundant-type-constituents
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Sep 21, 2024
1 parent d3f3497 commit f470d44
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ const rules = {
'@typescript-eslint/no-non-null-asserted-optional-chain': ['error'],
'@typescript-eslint/no-non-null-assertion': ['error'],
'@typescript-eslint/no-redeclare': ['error', { builtinGlobals: false }],
'@typescript-eslint/no-redundant-type-constituents': ['error'],
'@typescript-eslint/no-require-imports': [
'error',
{ allow: [], allowAsImport: false },
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 @@ -324,6 +324,7 @@ export const expectedExportedValue: TSESLint.FlatConfig.Config = {
'@typescript-eslint/non-nullable-type-assertion-style': ['error'],
'@typescript-eslint/no-this-alias': ['error', { allowDestructuring: true }],
'@typescript-eslint/no-redeclare': ['error', { builtinGlobals: false }],
'@typescript-eslint/no-redundant-type-constituents': ['error'],
'@typescript-eslint/no-require-imports': [
'error',
{ allow: [], allowAsImport: false },
Expand Down
1 change: 0 additions & 1 deletion 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-redundant-type-constituents',
'@typescript-eslint/no-restricted-imports',
'@typescript-eslint/no-shadow',
'@typescript-eslint/no-unnecessary-condition',
Expand Down

0 comments on commit f470d44

Please sign in to comment.