restincode/.pre-commit-config.yaml
mauvehed 6d4dec92df chore(.pre-commit-config.yaml): update prettier hook to version 3.0.0
The prettier hook in the .pre-commit-config.yaml file has been updated
to version 3.0.0. This update may include bug fixes, new features, or
other improvements provided by the new version of the prettier hook.
2023-07-30 18:39:48 -05:00

32 lines
1.2 KiB
YAML

# .pre-commit-config.yaml
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0 # use `pre-commit autoupdate` to get the latest rev
hooks:
- id: check-yaml # check for proper yaml formatting
- id: check-json # check for proper json formatting
- id: no-commit-to-branch
args: ['--branch', 'main'] # prevent local commits to main branch
# - id: pretty-format-json
# - id: end-of-file-fixer
# - id: trailing-whitespace
#- repo: https://github.com/pre-commit/mirrors-csslint
# rev: v1.0.5 # use `pre-commit autoupdate` to get the latest rev
# hooks:
# - id: csslint
#- repo: https://github.com/thibaudcolas/curlylint
# rev: v0.13.1 # use `pre-commit autoupdate` to get the latest rev
# hooks:
# - id: curlylint
#- repo: https://github.com/klieret/jekyll-relative-url-check
# rev: v2.0.1 # use `pre-commit autoupdate` to get the latest rev
# hooks:
# - id: jekyll-relative-url-check-html
# - id: jekyll-relative-url-check-markdown
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0
hooks:
- id: prettier
types: [json]
ci:
autofix_prs: false