frappe_docker/.pre-commit-config.yaml
ubden 968d096a43 feat: Add HRMS and Helpdesk applications, update linting configuration
- Introduced HRMS and Helpdesk applications, increasing total applications to 9.
- Updated .pre-commit-config.yaml to refine linting rules and exclude patterns.
- Removed shfmt hook due to unavailability in GitHub Actions.
- Enhanced documentation in APPS_UPDATE_COMPLETE.md to reflect new applications and linting changes.
2025-10-13 23:49:55 +03:00

36 lines
1.2 KiB
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
exclude: "\\.(md|txt)$"
- id: end-of-file-fixer
exclude: "(dokploy/VERSION|\\.md|\\.json)$"
- id: check-yaml
exclude: "docker-compose.*\\.yml$"
- id: check-added-large-files
- id: check-merge-conflict
- id: check-executables-have-shebangs
exclude: "(resources/.*|dokploy/install\\.sh)$"
- id: check-shebang-scripts-are-executable
exclude: "(resources/.*|dokploy/install\\.sh)$"
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
args: ["--skip=*.json,*.lock,*.min.js,*.min.css,*.svg,yarn.lock", "--ignore-words-list=nd,ist,ue"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
types_or: [yaml, markdown]
exclude: "(yarn\\.lock|\\.lock|apps\\.json|dokploy\\.json|docker-compose.*\\.yml)$"
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
args: ["-x"]
exclude: "resources/nginx-entrypoint\\.sh$"