# 16-formatter-and-checks This example shows `formatter.` and `checks..*`. It includes: - a `formatter` output pointing at `nixfmt`, and - a check that uses that formatter on a file in the example. Useful commands: ```bash nix fmt sample.nix nix flake show nix flake check ```