chore: Restore type aware linting (#10138)

* wip

* Upgrade oxlint
This commit is contained in:
Tom Moor
2025-09-10 01:20:18 +02:00
committed by GitHub
parent b945ac8999
commit be194558bf
4 changed files with 94 additions and 48 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ export default {
// TypeScript files
"**/*.[tj]s?(x)": [
(f) => `prettier --write ${f.join(" ")}`,
(f) => (f.length > 20 ? `yarn lint --fix` : `oxlint ${f.join(" ")} --fix`),
(f) => (f.length > 20 ? `yarn lint --fix` : `oxlint ${f.join(" ")} --fix --type-aware`),
() => `yarn build:i18n`,
() => "git add shared/i18n/locales/en_US/translation.json",
],