heysamtexas / rest-mobiledoc

REST-mobiledoc is an Express.js-based API that converts HTML and Markdown content into the Mobiledoc format.
https://api.joat.tools/mobiledoc/api-docs/
Other
0 stars 0 forks source link

Introduce Linting and formatting with Husky Biome #1

Open heysamtexas opened 1 month ago

heysamtexas commented 1 month ago

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 commented 1 month ago
npm install --save-dev husky biome
npx husky install
npx husky add .husky/pre-commit "npx biome check --apply ."
heysamtexas commented 3 weeks ago

done