feat(CONTRIBUTING.md): Add info regarding ESLint

This commit is contained in:
Thomas Huber 2024-03-03 21:10:14 -08:00
parent 464cee3588
commit 0b8707d459
No known key found for this signature in database
GPG key ID: C8B2604C5DD56D87

View file

@ -86,6 +86,12 @@ documentation to areas not currently covered are greatly appreciated.
ZMK uses `prettier` to format documentation files. You can run prettier with `npm run prettier:format`.
You can setup git to run prettier automatically when you commit by installing the pre-commit hooks: `pip3 install pre-commit`, `pre-commit install`.
### Linting
This repository utilizes ESLint for code linting to ensure consistent code style and identify potential errors or bugs early in the development process.
You can run ESLint with `npm run lint` to verify your changes.
## Code Contributions
### Development Setup