Skip to content

Commit

Permalink
Improve script/lint output.
Browse files Browse the repository at this point in the history
Change YAML emoji to fix spacing issue.

Move YAML lint before Git lint to keep the names getting progressively shorter.

Partial mas-cli#638

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Nov 16, 2024
1 parent 2305789 commit 4f20af7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions script/lint
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ printf -- $'--> 〽️ Markdown\n'
markdownlint --config .markdownlint.json .github .
((exit_code |= "${?}"))

printf -- $'--> 🌳 Git\n'
PAGER='cat' git diff --check
printf -- $'--> 📝 YAML\n'
yamllint .
((exit_code |= "${?}"))

printf -- $'--> 🖊 YAML\n'
yamllint .
printf -- $'--> 🌳 Git\n'
PAGER='cat' git diff --check
((exit_code |= "${?}"))

printf -- $'--> 🌀 Periphery\n'
Expand Down

0 comments on commit 4f20af7

Please sign in to comment.