Skip to content

Commit

Permalink
feat!: @typescript-eslint/no-confusing-non-null-assertion
Browse files Browse the repository at this point in the history
Co-authored-by: Rostislav Simonik <rostislav.simonik@technologystudio.sk>
  • Loading branch information
mightyiam and rostislav-simonik committed Jul 20, 2024
1 parent 9865117 commit 92f1a2b
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 @@ -141,6 +141,7 @@ const rules = {
'@typescript-eslint/no-array-constructor': ['error'],
'@typescript-eslint/no-array-delete': ['error'],
'@typescript-eslint/no-base-to-string': ['error'],
'@typescript-eslint/no-confusing-non-null-assertion': ['error'],
'@typescript-eslint/no-confusing-void-expression': [
'error',
{ ignoreArrowShorthand: false, ignoreVoidOperator: 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 @@ -299,6 +299,7 @@ export const expectedExportedValue: TSESLint.FlatConfig.Config = {
'@typescript-eslint/no-array-constructor': ['error'],
'@typescript-eslint/no-array-delete': ['error'],
'@typescript-eslint/no-base-to-string': ['error'],
'@typescript-eslint/no-confusing-non-null-assertion': ['error'],
'@typescript-eslint/no-confusing-void-expression': [
'error',
{ ignoreArrowShorthand: false, ignoreVoidOperator: 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-confusing-non-null-assertion',
'@typescript-eslint/no-duplicate-enum-values',
'@typescript-eslint/no-duplicate-type-constituents',
'@typescript-eslint/no-empty-function',
Expand Down

0 comments on commit 92f1a2b

Please sign in to comment.