From 9ba47fd09e5e3d98723504fffc90b2f19dac1ad2 Mon Sep 17 00:00:00 2001 From: carlos-lehmann <67628867+carlos-lehmann@users.noreply.github.com> Date: Thu, 11 Sep 2025 23:47:07 +0200 Subject: [PATCH] docs: Update README with some edge cases (#3092) Co-authored-by: Michael Kriese --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index a57a3faa..2418fdf4 100644 --- a/README.md +++ b/README.md @@ -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$' +```