mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-24 08:45:10 +00:00
- Updated application branches in `apps.json` and `Dockerfile` to use `version-15` for compatibility with Frappe v15. - Removed incompatible applications (Twilio Integration, ERPNext Shipping) and documented changes in `APPS_INFO.md`. - Introduced a new `.pre-commit-config.yaml` for linting and formatting with specific exclusions. - Fixed linting issues in `install.sh` and added shellcheck directives for better script validation. - Created `LINT_FIX_COMPLETE.md` to summarize linting fixes and application updates.
38 lines
1.1 KiB
YAML
38 lines
1.1 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: ^(.*\.md|dokploy/VERSION)$
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: check-merge-conflict
|
|
- id: check-executables-have-shebangs
|
|
- id: check-shebang-scripts-are-executable
|
|
exclude: ^(resources/nginx-entrypoint\.sh)$
|
|
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.2.6
|
|
hooks:
|
|
- id: codespell
|
|
args: [--skip="*.json,*.lock,*.min.js,*.min.css,*.svg"]
|
|
exclude: ^(.*\.min\.js|.*\.min\.css|.*\.svg|yarn\.lock)$
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v3.1.0
|
|
hooks:
|
|
- id: prettier
|
|
types_or: [yaml, markdown, json]
|
|
exclude: ^(.*\.lock|yarn\.lock)$
|
|
|
|
- repo: https://github.com/jumanjihouse/pre-commit-hooks
|
|
rev: 3.0.0
|
|
hooks:
|
|
- id: shfmt
|
|
args: [-i, "2", -ci, -w]
|
|
exclude: ^(resources/nginx-entrypoint\.sh)$
|
|
- id: shellcheck
|
|
args: [-x]
|
|
exclude: ^(resources/nginx-entrypoint\.sh)$
|