Option to disable global config file #921
Closed
alecthegeek
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
The global configuration file is intended to be a place for users to be able to apply their own rules independent of the configuration of any specific project. I wouldn't want a project to have the power to disable my personal configuration. Similarly, my personal configuration choices wouldn't show up at the CI level of a project. In other words, I think the decision to use (or not) a global configuration should be made at the user level, not the project level. |
Beta Was this translation helpful? Give feedback.
0 replies
-
We have a difference in working culture I suspect.
I want folks to get the CI experience on the workstation, enforced by
githook scripts.
That way they can fix problems straight away, instead of waiting 10-n
minutes for a notification from the CI pipeline.
Can we fake this feature by setting the VALE_CONFIG_PATH to some value?
Alec Clews
Personal ***@***.***> Melbourne, Australia.
Blog:https://alecthegeek.tech PGPKey ID: 0x9BBBFC7C
…On Tue, 12 Nov 2024 at 10:08, Joseph Kato ***@***.***> wrote:
The global configuration file is *intended* to be a place for users to be
able to apply their own rules independent of the configuration of any
specific project.
I wouldn't want a project to have the power to disable my personal
configuration. Similarly, my personal configuration choices wouldn't show
up at the CI level of a project.
In other words, I think the decision to use (or not) a global
configuration should be made at the user level, not the project level.
—
Reply to this email directly, view it on GitHub
<#921 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADNM52BTPRMHLYGBAQUZL2AE2FPAVCNFSM6AAAAABRSUV6S2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMRRHE2TQMI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
According to the docs the global config is always read last and can override any settings in the project config file.
This seems like a bad thing when projects want to ensure consistency across all workstations and environments.
Would a
GlobalConfig = NO
option be useful? It would skip looking for the global file.Beta Was this translation helpful? Give feedback.
All reactions