Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Dec 7, 2023
1 parent ccd989b commit 04e1491
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ lint:
shellcheck -x {{ scripts }}
shfmt -d {{ scripts }}
just --unstable --fmt --check
npx prettier -c $(git ls-files '*.md' '*.yml' '*.yaml')
npx prettier -c $(git ls-files '*.yml' '*.yaml')
npx markdownlint-cli .

# runs linters but makes fixes when possible
lint-fix:
Expand All @@ -97,7 +98,10 @@ lint-fix:
shellcheck -x {{ scripts }}
shfmt -w {{ scripts }}
just --unstable --fmt
npx prettier -w $(git ls-files '*.md' '*.yml' '*.yaml')
npx prettier -w $(git ls-files '*.yml' '*.yaml')
npx markdownlint-cli --fix .

render-all: render-help render-completions render-mangen

render-all: render-help render-completions render-mangen

Expand Down

0 comments on commit 04e1491

Please sign in to comment.