chore(README): add format and lint commands

This commit is contained in:
Cory Dransfeldt 2025-06-14 18:56:28 -07:00
parent a27c18101b
commit fdeec2c176
No known key found for this signature in database
3 changed files with 7 additions and 4 deletions

View file

@ -39,6 +39,9 @@ This will run `eleventy --watch` and the PHP cli concurrently, allowing for an e
- `coryd run php`: starts a PHP server for local development.
- `coryd run build`: builds static site output.
- `coryd run clean`: removes the `dist` and `.cache` folders.
- `coryd run format`: formats JavaScript, JSON, CSS and Markdown files using Prettier, PHP files using Pint and SQL files using sql-formatter.
- `coryd run format:sql`: formats SQL files using sql-formatter.
- `coryd run lint:md`: lints markdown files using Markdown lint.
- `coryd run update`: checks for dependency updates and updates 11ty.
## Required environment variables