-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Waiver to ignore an error #274
Comments
You can use special comments to disable syntax rules around specific lines. |
I found what I meant in verible and Vivado. Let me explain it with verible. The linter in verible has 2 options for waiver:
The method you mentioned is absolutely fine in case of 'in file waiver'. The feature I intend to have is 'external file waiver'. Creating an external file with these commands and passing to the linter would ignore that rule for those lines.
'In file waiver' has a limitation that the source file needs to be modified, while 'External file waiver' has the limitation that the line numbers need to be changed whenever the source file changes. |
Ok, I see what you mean. Personally, I don't think that sort of thing should be in this tool.
If I assume I could find a neat approach that's easy to explain (fully, in a small amount of words) and works nicely with version control, I have another few concerns:
Sorry if this seems all doom and gloom! Clearly other tools like verible can do similar things - I just can't see how to do it right for svlint :p |
A single rule can be omitted by changing the configuration file, but in case only a single error need to be omitted, it can be added to a waiver file to be excluded. While this can be manually dealt with for small projects, for larger projects it would be efficient to have a waiver file which can ignore some errors.
The text was updated successfully, but these errors were encountered: