Skip to content

Enable prefer-values-in-head#1535

Merged
anderseknert merged 1 commit intomainfrom
prefer-value-in-head
May 5, 2025
Merged

Enable prefer-values-in-head#1535
anderseknert merged 1 commit intomainfrom
prefer-value-in-head

Conversation

@anderseknert
Copy link
Member

Although with only-scalars set to true. I did review the violations reported without that, and while most didn't warrant "fixing", a a few did, and so I did.

Also added an option to the rule to be able to list variable names that should be excluded.

It's fun to play around, but the high-level goal here is mostly to have regal lint bundle run all rules, even if with some exceptions defined in the config.

Although with `only-scalars` set to `true`. I did review the violations
reported without that, and while most didn't warrant "fixing", a a few
did, and so I did.

Also added an option to the rule to be able to list variable names that
should be excluded.

It's fun to play around, but the high-level goal here is mostly to have
`regal lint bundle` run all rules, even if with some exceptions defined
in the config.

Signed-off-by: Anders Eknert <anders@styra.com>
@anderseknert anderseknert force-pushed the prefer-value-in-head branch from e654181 to 67acc57 Compare May 5, 2025 18:29
@anderseknert anderseknert merged commit 0e92eb3 into main May 5, 2025
5 checks passed
@anderseknert anderseknert deleted the prefer-value-in-head branch May 5, 2025 18:38
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