docs: Update README with some edge cases (#3092)

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
This commit is contained in:
carlos-lehmann 2025-09-11 23:47:07 +02:00 committed by GitHub
parent 36e9f53ee9
commit 9ba47fd09e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,3 +27,19 @@ repos:
- id: renovate-config-validator
args: [--strict]
```
If you run into Heap Size issues try to set ENV `NODE_OPTIONS` with value `"--max-old-space-size=4096"`.
## Override hook configuration
You can override the configuration in [pre-commit-hooks.yaml](.pre-commit-hooks.yaml), for instance to scan for all `.json5` files
```yaml
repos:
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 40.36.8
hooks:
- id: renovate-config-validator
args: [--strict]
files: '.*\\.json5$'
```