mirror of
https://github.com/renovatebot/pre-commit-hooks.git
synced 2026-04-11 01:04:18 +00:00
Update README.md
This commit is contained in:
parent
4408759f0e
commit
97486a2ee0
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
|
@ -27,3 +27,19 @@ repos:
|
||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
args: [--strict]
|
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$'
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue