mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
update linting doc
This commit is contained in:
@ -395,11 +395,11 @@ $ sudo log stream --level debug --predicate 'subsystem=="com.mitchellh.ghostty"'
|
||||
|
||||
### Linting
|
||||
|
||||
Ghostty's docs and resources (not including Zig code) are linted using [Prettier](https://prettier.io) with out-of-the-box settings. A Prettier CI check will fail builds with improper formatting. Therefore, if you are modifying anything Prettier will lint, you may want to install it locally and run this from the repo root
|
||||
Ghostty's docs and resources (not including Zig code) are linted using [Prettier](https://prettier.io) with out-of-the-box settings. A Prettier CI check will fail builds with improper formatting. Therefore, if you are modifying anything Prettier will lint, you may want to install it locally and run this from the repo root before you commit:
|
||||
|
||||
```
|
||||
npm install -g prettier
|
||||
prettier --write .
|
||||
```
|
||||
|
||||
before you commit. Or simply install one of the many Prettier extensions out there for your editor of choice.
|
||||
Or simply install one of the many Prettier extensions out there for your editor of choice.
|
||||
|
Reference in New Issue
Block a user