Closed Ilyes512 closed 2 years ago
Does not having a configuration stop the extension from working at all? or is this just an annoying error message?
If it's the latter, it would probably make sense to just have the extension report a missing config as a debug/info so you know that it wasn't found and is using the defaults.
Is it possible to specify the path to .protolint.yaml
with settings?
At the moment, there isn't a setting to be able to set where the protolint config exists. It just uses the current workspace folder and traverses from there, trying to find a protolint config.
This issue is specific to being noisy when a config isn't found (but could be desirable). Are you needing to be able to specify a specific directory where the config is?
@Ilyes512 this should be fixed in 0.7.0
So protolint it self does not require a config file, but it seems this plugin does look for one by default. Even when you create one and its empty, it will complain about the config being empty...
No file results in:
Empty file results in:
It won't complain if the file contains: