Skip to content

Comments

chore: setup oxlint, oxfmt, and lefthook for linting and formatting#2

Open
lollipop-onl wants to merge 1 commit intomainfrom
claude/setup-linting-hooks-TkcVF
Open

chore: setup oxlint, oxfmt, and lefthook for linting and formatting#2
lollipop-onl wants to merge 1 commit intomainfrom
claude/setup-linting-hooks-TkcVF

Conversation

@lollipop-onl
Copy link
Member

  • Add oxlint for linting with TypeScript, unicorn, and import plugins
  • Add oxfmt for Prettier-compatible code formatting
  • Configure lefthook pre-commit hooks to auto-lint and format staged files
  • Add npm scripts: lint, lint:fix, fmt, fmt:check, check, fix, prepare
  • Auto-fix all existing files (import sorting, formatting, unused vars)

https://claude.ai/code/session_017ZFymuPiS1BoErGmnw6twU

- Add oxlint for linting with TypeScript, unicorn, and import plugins
- Add oxfmt for Prettier-compatible code formatting
- Configure lefthook pre-commit hooks to auto-lint and format staged files
- Add npm scripts: lint, lint:fix, fmt, fmt:check, check, fix, prepare
- Auto-fix all existing files (import sorting, formatting, unused vars)

https://claude.ai/code/session_017ZFymuPiS1BoErGmnw6twU
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