Skip to content

Conversation

@calvarjorge
Copy link
Contributor

@calvarjorge calvarjorge commented Feb 2, 2026

  • Update lint-staged to use biome check --write for combined linting, formatting, and import sorting on pre-commit
  • Update CI to use pnpm check and fail in case of unordered imports. Example behaviour here: [Do not merge] Unordered import test #78
  • Most files are auto-generated changes, please look at ci.yml and package.json.

- Enable organizeImports assist action in biome.json
- Update lint-staged to use `biome check --write` for combined
  linting, formatting, and import sorting on pre-commit
- Update CI to use `pnpm check` instead of separate lint/format commands

Signed-off-by: Jorge Calvar <[email protected]>
Copy link
Member

@pkosiec pkosiec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in overall but please see my previous comment before the merge 👍

- Add docs:check and docs:check:fix commands for combined lint/format/import sorting
- Keep docs:format and docs:lint commands (without --write) for checking only
- Restore root format, format:check, lint, lint:fix commands
- Update CI to use docs:check:fix for generated docs

Signed-off-by: Jorge Calvar <[email protected]>
@calvarjorge calvarjorge merged commit 3b00ad6 into main Feb 2, 2026
4 checks passed
@calvarjorge calvarjorge deleted the jorge.calvar/setup_import_ordering branch February 2, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants