You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given /home/user/project/.vintrc.yaml and /home/user/.vintrc.yaml, ConfigProjectSource will first find the project config, but then also the user's global config, which it then uses instead.
I think a sensible fix for this is to stop once the first config has been found.
Also, ignoring the global config explicitly might make sense.
Vint could stop at the user's home directory to address this?!
Also, ConfigGlobalSource should look at ~/.config/vint/config ($XDG_CONFIG_HOME/yamllint/config) first, which would work around this.
The text was updated successfully, but these errors were encountered:
blueyed
added a commit
to blueyed/vint
that referenced
this issue
Jan 6, 2017
Given
/home/user/project/.vintrc.yaml
and/home/user/.vintrc.yaml
,ConfigProjectSource
will first find the project config, but then also the user's global config, which it then uses instead.I think a sensible fix for this is to stop once the first config has been found.
Also, ignoring the global config explicitly might make sense.
Vint could stop at the user's home directory to address this?!
Also,
ConfigGlobalSource
should look at~/.config/vint/config
($XDG_CONFIG_HOME/yamllint/config
) first, which would work around this.The text was updated successfully, but these errors were encountered: