forge.nvim/scripts/ci.sh
Barrett Ruth 65f857aa1d
ci: fix nix fmt flag and prettier formatting
Problem: `nix fmt -- --check .` fails because treefmt uses `--ci`
not `--check`. `bug_report.yaml` had a pre-existing prettier issue.

Solution: use `--ci` flag for treefmt, format `bug_report.yaml`.
2026-03-28 14:37:21 -04:00

9 lines
385 B
Bash
Executable file

#!/bin/sh
set -eu
nix develop .#ci --command stylua --check .
git ls-files '*.lua' | xargs nix develop .#ci --command selene --display-style quiet
nix develop .#ci --command prettier --check .
nix fmt -- --ci
nix develop .#ci --command lua-language-server --check lua --configpath "$(pwd)/.luarc.json" --checklevel=Warning
nix develop .#ci --command vimdoc-language-server check doc/