Skip to content

Commit a9cf15b

Browse files
Copilotstipsan
andauthored
Enable typescript/no-unnecessary-type-assertion oxlint rule (#510)
* Initial plan * Initial plan: Enable typescript/no-unnecessary-type-assertion rule Co-authored-by: stipsan <81981+stipsan@users.noreply.github.com> * Enable typescript/no-unnecessary-type-assertion oxlint rule Co-authored-by: stipsan <81981+stipsan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stipsan <81981+stipsan@users.noreply.github.com>
1 parent 7e825c1 commit a9cf15b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.oxlintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"rules": {
2020
"typescript/ban-ts-comment": "error",
2121
"typescript/no-deprecated": "error",
22+
"typescript/no-unnecessary-type-assertion": "error",
2223
"typescript/prefer-ts-expect-error": "error",
2324
"import/no-commonjs ": "error",
2425
"import/no-unassigned-import": ["error", {"allow": ["**/*.css"]}],

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)