screeps-deploy-action/.pre-commit-config.yaml
runner 567eb22cd8
Some checks failed
Lint / pre-commit Linting (push) Successful in 35s
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 14m52s
Updates to the pre-commit action created at 2025-01-12 (#18)
Update to the pre-commit action.

Reviewed-on: #18
Co-authored-by: runner <git@horstenkamp.eu>
Co-committed-by: runner <git@horstenkamp.eu>
2025-03-16 21:50:53 +01:00

52 lines
1.3 KiB
YAML

exclude: ^node_modules/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
exclude: (.txt$|.ipynb$|README.md$|readme.mde$)
- id: trailing-whitespace
exclude: (.txt$|README.md$)
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-xml
- id: check-added-large-files
args: [--enforce-all]
- id: name-tests-test
- id: detect-private-key
- id: check-case-conflict
- id: check-symlinks
- id: check-docstring-first
- id: pretty-format-json
args: [--autofix, --no-sort-keys, --no-ensure-ascii]
- id: check-merge-conflict
- id: no-commit-to-branch
args: [--branch, main]
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.14.0
hooks:
- id: pretty-format-ini
args: [--autofix]
- id: pretty-format-toml
args: [--autofix]
- id: pretty-format-yaml
args: [--autofix]
- repo: https://github.com/frnmst/md-toc
rev: 9.0.0
hooks:
- id: md-toc
- repo: https://github.com/Lucas-C/pre-commit-hooks-java
rev: 1.3.10
hooks:
- id: validate-html
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
types_or: [css, javascript]