pre-commit install
So far we are only checking Markdown files in the pre-commit run.
We use markdownlint
to lint the Markdown:
markdownlint '**/*.md' --ignore node_modules --fix
We use shellcheck
to lint the shell script files:
shellcheck donya.sh
We also use yamllint
to lint the YAML files:
yamllint .
We use misspell
to check for spelling mistakes:
find . -type f | xargs ./misspell
Pass in -w
to misspell
for autocorrect.