Spaces:
Runtime error
Runtime error
| exclude: | | |
| (?x)^( | |
| ^src/dashboard/.*| | |
| ^src/core/engines/webjs/.*html| | |
| ^src/core/engines/gows/grpc/.*| | |
| ^src/core/engines/gows/proto/.*| | |
| ^src/plus/engines/webjs/.*html| | |
| ^.yarn/.* | |
| )$ | |
| repos: | |
| - repo: local | |
| hooks: | |
| - id: commit-message-prefix | |
| name: Validate Commit Message for src/plus Changes | |
| entry: python ./.precommit/validate_commit_message.py | |
| language: python | |
| stages: [commit-msg] | |
| - id: oxlint | |
| name: oxlint | |
| entry: npx oxlint --fix --deny-warnings | |
| language: system | |
| pass_filenames: true | |
| files: \.(ts|tsx|js|jsx)$ | |
| - repo: https://github.com/pre-commit/mirrors-prettier | |
| rev: 'v3.1.0' | |
| hooks: | |
| - id: prettier | |
| stages: [pre-commit] | |
| exclude: | | |
| (?x)^( | |
| docs/.*| | |
| README.md| | |
| tests/smoke/goss.yaml| | |
| )$ | |
| - repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs | |
| rev: v1.1.2 | |
| hooks: | |
| - id: markdown-toc | |
| stages: [pre-commit] | |
| name: README.md | |
| files: ^README.md$ | |
| - repo: local | |
| hooks: | |
| - id: no-plus-in-core | |
| stages: [pre-commit] | |
| name: No "plus" in core | |
| language: pygrep | |
| entry: 'plus' | |
| files: | | |
| (?x)^( | |
| src/api/.*| | |
| src/core/.*| | |
| src/structures/.*| | |
| src/config.service.ts| | |
| )$ | |
| - repo: local | |
| hooks: | |
| - id: no-console-log | |
| stages: [pre-commit] | |
| name: No console.log() calls | |
| language: pygrep | |
| entry: 'console\.log' | |
| exclude: | | |
| (?x)^( | |
| entrypoint.sh| | |
| .pre-commit-config.yaml| | |
| ^src/core/engines/webjs/session.webjs.core.ts| | |
| ^src/core/engines/webjs/_lodash.js| | |
| ^tests/perf/.*| | |
| ^scripts/.*| | |
| )$ | |