vhdl-style-guide
vhdl-style-guide copied to clipboard
Report warnings as errors + How to update configuration YAML for newer versions
Hi Jeremiah,
I am using VSG to lint my open-source FPGA standard library Open Logic.
I have two questions:
- Is there a way to report warnings as errors? For development I tend to accept some warnings until my code works but in CI I would like the pipeline to fail if there are any warnings left.
- I have a YAML configuration file that works for vsg 3.27. However, if I upgrade to a newer version (3.3.0 or higher) it fails with various errors for the indentation configuration. Can you provide some guidance how I can update the YAML to work with newer configurations? I couldn't find an exact documentation what changed in the configuration files - and for maintenance reasons of course it is difficult to always sort out and apply many manual changes if vsg is upgraded to a newer version (in this case even a minor version increment).