Skip to content

Commit

Permalink
feat!: @typescript-eslint/no-unsafe-unary-minus
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Sep 28, 2024
1 parent bfd1595 commit cd78330
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ export const tseslintRules: Record<string, TSESLint.SharedConfig.RuleEntry> = {
'@typescript-eslint/no-unsafe-function-type': ['error'],
'@typescript-eslint/no-unsafe-member-access': ['error'],
'@typescript-eslint/no-unsafe-return': ['error'],
'@typescript-eslint/no-unsafe-unary-minus': ['error'],
'@typescript-eslint/no-unused-expressions': [
'error',
{
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 @@ -357,6 +357,7 @@ export const expectedTseslintRules: Record<
'@typescript-eslint/no-unsafe-function-type': ['error'],
'@typescript-eslint/no-unsafe-member-access': ['error'],
'@typescript-eslint/no-unsafe-return': ['error'],
'@typescript-eslint/no-unsafe-unary-minus': ['error'],
'@typescript-eslint/no-unused-expressions': [
'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
Expand Up @@ -184,7 +184,6 @@ export const promiseRulesToConsider = [
]

export const tseslintRulesToConsider = [
'@typescript-eslint/no-unsafe-unary-minus',
'@typescript-eslint/no-useless-empty-export',
'@typescript-eslint/parameter-properties',
'@typescript-eslint/prefer-as-const',
Expand Down

0 comments on commit cd78330

Please sign in to comment.