diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5580bb51d..4253d677de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: node-version: 22.x cache: "yarn" - run: yarn install --frozen-lockfile --prefer-offline - - run: yarn lint + - run: yarn lint --quiet types: needs: build diff --git a/lint-staged.config.mjs b/lint-staged.config.mjs index e8b043a09d..f78fa6ea0d 100644 --- a/lint-staged.config.mjs +++ b/lint-staged.config.mjs @@ -3,7 +3,7 @@ export default { // TypeScript files "**/*.[tj]s?(x)": [ (f) => `prettier --write ${f.join(" ")}`, - (f) => (f.length > 20 ? `yarn lint` : `oxlint ${f.join(" ")}`), + (f) => (f.length > 20 ? `yarn lint --fix` : `oxlint ${f.join(" ")} --fix`), () => `yarn build:i18n`, () => "git add shared/i18n/locales/en_US/translation.json", ],