Skip to content

Commit

Permalink
Makefile <> justfile
Browse files Browse the repository at this point in the history
Pre-commit hook versions are updated.
  • Loading branch information
ross-spencer committed Oct 28, 2024
1 parent 430621b commit 87532b3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 18 deletions.
1 change: 1 addition & 0 deletions .codespellignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-yaml
- id: check-json
- id: check-toml
- id: end-of-file-fixer
exclude: ".svg"
- id: trailing-whitespace
- id: check-case-conflict
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.35.0
hooks:
- id: markdownlint
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.3.0
hooks:
- id: codespell
args: [-I, .codespellignore]
15 changes: 0 additions & 15 deletions Makefile

This file was deleted.

17 changes: 17 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# CLI Helpers

# Help
help:
just -l

# Run all pre-commit checks
all-checks:
pre-commit run --all-files

# Run pre-commit spelling check
spell:
pre-commit run codespell --all-files

# Run pre-commit makdown-lint
markdown:
pre-commit run markdownlint --all-files

0 comments on commit 87532b3

Please sign in to comment.