Skip to content

Commit d3d71f9

Browse files
committed
feat: add @typescript-eslint/no-unsafe-unary-minus
BREAKING CHANGE: New rule introduced
1 parent 6a064c2 commit d3d71f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@
313313
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
314314
"@typescript-eslint/no-unnecessary-type-assertion": "error",
315315
"@typescript-eslint/no-var-requires": "error",
316+
"@typescript-eslint/no-unsafe-unary-minus": "error",
316317
"@typescript-eslint/prefer-function-type": "error",
317318
"@typescript-eslint/prefer-includes": "error",
318319
"@typescript-eslint/prefer-nullish-coalescing": [

0 commit comments

Comments
 (0)