WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Discussion options

You must be logged in to vote

I'm pretty sure your intuition is correct, that both versions should work approximately the same way.

The Scala 2 option specifies that it accumulates in prepend mode, with the semantics that "last config wins" because it winds up first in priority.

Scala 3 options are different, so I could not guess without inspection. Probably you're right that they forgot to reverse.

"User config" is as opposed to default config, I assume. So it's handy that "last wins".

To veer off-topic, not all options are "last wins." For example, linting respects if a lint is explicitly turned off, even if some other settings want to turn it on.

In this case, arguably, if I "silence" or "suppress" a category, I do…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by coreywoodfield
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants