Skip to content

Commit

Permalink
feat!: @typescript-eslint/no-deprecated: warn
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Sep 7, 2024
1 parent 1dd4de5 commit 34e32ba
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 @@ -95,6 +95,7 @@ const rules = {
'error',
{ ignoreArrowShorthand: false, ignoreVoidOperator: false },
],
'@typescript-eslint/no-deprecated': ['warn'],
'@typescript-eslint/no-dupe-class-members': ['error'],
'@typescript-eslint/no-duplicate-enum-values': ['error'],
'@typescript-eslint/no-duplicate-type-constituents': [
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 @@ -255,6 +255,7 @@ export const expectedExportedValue: TSESLint.FlatConfig.Config = {
'error',
{ ignoreArrowShorthand: false, ignoreVoidOperator: false },
],
'@typescript-eslint/no-deprecated': ['warn'],
'@typescript-eslint/no-dupe-class-members': ['error'],
'@typescript-eslint/no-duplicate-enum-values': ['error'],
'@typescript-eslint/no-duplicate-type-constituents': [
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-deprecated',
'@typescript-eslint/no-magic-numbers',
'@typescript-eslint/no-meaningless-void-operator',
'@typescript-eslint/no-mixed-enums',
Expand Down

0 comments on commit 34e32ba

Please sign in to comment.