chore(README): add format and lint commands
This commit is contained in:
parent
a27c18101b
commit
fdeec2c176
3 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue