Skip to content

Add inherit config option#447

Open
jonswar wants to merge 2 commits into
rubysec:masterfrom
jonswar:jonswar/add-inherit-config-2026-07-10
Open

Add inherit config option#447
jonswar wants to merge 2 commits into
rubysec:masterfrom
jonswar:jonswar/add-inherit-config-2026-07-10

Conversation

@jonswar

@jonswar jonswar commented Jul 10, 2026

Copy link
Copy Markdown

Add inherit config option, allowing other config files to be merged into the current config. Similar to rubocop's inherit_from directive. e.g.

---
inherit:
  - ../bundler-audit-shared.yml

ignore:
  - CVE-1
  - ...

This is useful for large repos with many apps. Each app has its own ignores, but occasionally there's a desire to ignore a CVE across all apps. Right now in our organization we have to add the ignore to 30+ files, which is tedious and obscures commonalities.

@simi

simi commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Why not to use inherit_from also? 🤔

@jonswar
jonswar force-pushed the jonswar/add-inherit-config-2026-07-10 branch from ce08b6f to 7f9468b Compare July 22, 2026 17:26
@jonswar

jonswar commented Jul 22, 2026

Copy link
Copy Markdown
Author

Why not to use inherit_from also? 🤔

Good point, changed to inherit_from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants