Open knyfi opened 1 month ago
Some questions:
@qarlosalberto
Hello,
I just tried adding the ruleset to the linter but nothing changed. Other rules (case rules mostly) do get checked and corrected.
Then it seems a problem in VSG. I think that not all the rules are self-solvable by the formatter.
Well it would seem that VSG does detect the violation but the formatter doesn't correct it. perhaps this would be feature request more than a bug then.
You can try to run VSG manually. If it doesn't work, then it's an issue for VSG repo.
Formatter using VSG does not enforce prefix and suffix rules :
To Reproduce
rule file contains :
vhdl file contains :
constant FAULTY_CONSTANT: std_logic_vector(7 downto 0) := x"AA";
Observation: The formatter does not add prefix to constant.
Please complete the following information: