Skip to content

Commit

Permalink
feat!: @typescript-eslint/no-non-null-asserted-nullish-coalescing
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Sep 21, 2024
1 parent 2c90f1b commit 0f20905
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 @@ -157,6 +157,7 @@ const rules = {
'@typescript-eslint/no-misused-promises': ['error'],
'@typescript-eslint/no-mixed-enums': ['error'],
'@typescript-eslint/no-namespace': ['error'],
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': ['error'],
'@typescript-eslint/no-non-null-asserted-optional-chain': ['error'],
'@typescript-eslint/no-non-null-assertion': ['error'],
'@typescript-eslint/no-redeclare': ['error', { builtinGlobals: 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 @@ -318,6 +318,7 @@ export const expectedExportedValue: TSESLint.FlatConfig.Config = {
'@typescript-eslint/no-misused-promises': ['error'],
'@typescript-eslint/no-mixed-enums': ['error'],
'@typescript-eslint/no-namespace': ['error'],
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': ['error'],
'@typescript-eslint/no-non-null-asserted-optional-chain': ['error'],
'@typescript-eslint/no-non-null-assertion': ['error'],
'@typescript-eslint/non-nullable-type-assertion-style': ['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
@@ -1,5 +1,4 @@
export const rulesToConsider = [
'@typescript-eslint/no-non-null-asserted-nullish-coalescing',
'@typescript-eslint/no-redundant-type-constituents',
'@typescript-eslint/no-restricted-imports',
'@typescript-eslint/no-shadow',
Expand Down

0 comments on commit 0f20905

Please sign in to comment.