Skip to content

Conversation

@brianmcgee
Copy link
Member

@brianmcgee brianmcgee commented Jan 8, 2025

Also moves excludes in the root of the settings, as global has been deprecated.

Fixes #297

@brianmcgee
Copy link
Member Author

@zimbatm this was never merged. The change still seems relevant when comparing with latest main.

@vidhanio
Copy link
Contributor

vidhanio commented Jan 5, 2026

is there any blockers on this being merged? it is confusing that there exists an option in documentation and in-code that seems to do nothing.

type = types.submodule {
freeformType = configFormat.type;
options = {
global = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should there be an mkRenamedOptionModule to notify users to migrate from global -> top level settings?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea, fixed

brianmcgee and others added 2 commits January 11, 2026 18:44
Also moves excludes in the root of the settings, as global has been deprecated.

Signed-off-by: Brian McGee <brian@bmcgee.ie>
@zimbatm zimbatm merged commit e96d59d into main Jan 11, 2026
3 checks passed
@zimbatm zimbatm deleted the fix/on-unmatched branch January 11, 2026 19:16
vidhanio added a commit to vidhanio/vidhanix that referenced this pull request Jan 11, 2026
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.

settings.global.on-unmatched does not match up with treefmt behaviour

4 participants