Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Linting and formatting with Husky Biome #1

Open
heysamtexas opened this issue Oct 10, 2024 · 2 comments
Open

Introduce Linting and formatting with Husky Biome #1

heysamtexas opened this issue Oct 10, 2024 · 2 comments

Comments

@heysamtexas
Copy link
Owner

heysamtexas commented Oct 10, 2024

This is the pre-commit for the JS world:

This is like ruff but for Javascript/Typescript.

https://biomejs.dev/linter/rules/

Implement that into the development workflow

@heysamtexas heysamtexas changed the title Introduce Linting and formatting with Biome Introduce Linting and formatting with Husky Biome Oct 10, 2024
@heysamtexas
Copy link
Owner Author

npm install --save-dev husky biome
npx husky install
npx husky add .husky/pre-commit "npx biome check --apply ."

@heysamtexas
Copy link
Owner Author

done

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

No branches or pull requests

1 participant