Skip to content

Commit

Permalink
Merge pull request #1741 from mightyiam/no-deprecated
Browse files Browse the repository at this point in the history
feat!: @typescript-eslint/no-deprecated: warn
  • Loading branch information
mightyiam authored Sep 7, 2024
2 parents 1dd4de5 + 34e32ba commit 4756e56
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 4756e56

Please sign in to comment.