···492492493493### Linting
494494495495+#### Prettier
496496+495497Ghostty's docs and resources (not including Zig code) are linted using
496498[Prettier](https://prettier.io) with out-of-the-box settings. A Prettier CI
497499check will fail builds with improper formatting. Therefore, if you are
···502504prettier --write .
503505```
504506505505-Make sure your Prettier version matches the version of in [devShell.nix](https://github.com/mitchellh/ghostty/blob/main/nix/devShell.nix).
507507+Make sure your Prettier version matches the version of Prettier in [devShell.nix](https://github.com/mitchellh/ghostty/blob/main/nix/devShell.nix).
508508+509509+Nix users can use the following command to format with Prettier:
510510+511511+```
512512+nix develop -c prettier --write .
513513+```
514514+515515+#### Alejandra
516516+517517+Nix modules are formatted with [Alejandra](https://github.com/kamadorueda/alejandra/). An Alejandra CI check
518518+will fail builds with improper formatting.
519519+520520+Nix users can use the following command to format with Alejanda:
521521+522522+```
523523+nix develop -c alejandra .
524524+```
525525+526526+Non-Nix users should install Alejandra and use the follwing command to format with Alejanda:
527527+528528+```
529529+alejandra .
530530+```
531531+532532+Make sure your Alejandra version matches the version of Alejandra in [devShell.nix](https://github.com/mitchellh/ghostty/blob/main/nix/devShell.nix).
506533507534### Nix Package
508535