diff --git a/src/index.ts b/src/index.ts index 3ffe4909..99d8addd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 }], diff --git a/src/test/_expected-exported-value.ts b/src/test/_expected-exported-value.ts index aa1c31e7..832c9625 100644 --- a/src/test/_expected-exported-value.ts +++ b/src/test/_expected-exported-value.ts @@ -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'], diff --git a/src/test/_rules_to_consider.ts b/src/test/_rules_to_consider.ts index 7024b349..75df9fef 100644 --- a/src/test/_rules_to_consider.ts +++ b/src/test/_rules_to_consider.ts @@ -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',