mirror of
https://github.com/harivansh-afk/forge.nvim.git
synced 2026-04-15 05:02:09 +00:00
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`.
This commit is contained in:
parent
27c41d2f71
commit
65f857aa1d
2 changed files with 3 additions and 2 deletions
3
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
3
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
|
|
@ -56,7 +56,8 @@ body:
|
|||
- type: textarea
|
||||
attributes:
|
||||
label: 'Forge CLI version'
|
||||
description: 'Output of `gh --version`, `glab --version`, or `tea --version`'
|
||||
description:
|
||||
'Output of `gh --version`, `glab --version`, or `tea --version`'
|
||||
render: text
|
||||
|
||||
- type: textarea
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@ 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 -- --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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue