Slang linter for Verilog/SystemVerilog. #4713
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This contribution incorporates the slang linting tools for Verilog/SystemVerilog.
The contribution here follows the
ale-development
guidelines. Two linter tests have been added, and all tests have passed.Details about the changes are described in this article.
An example of the results in Vim is shown below:
![slang_vim_ale](https://private-user-images.githubusercontent.com/13283410/298812747-b8da4437-98df-4f50-9533-7e282ce81486.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MDM5MjYsIm5iZiI6MTczOTUwMzYyNiwicGF0aCI6Ii8xMzI4MzQxMC8yOTg4MTI3NDctYjhkYTQ0MzctOThkZi00ZjUwLTk1MzMtN2UyODJjZTgxNDg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDAzMjcwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZhODk0MDU1MjVhMTNlZGUxMDQ1ZmM4M2QzYzYxZDBlMDBmYTBhNmY1MWMzZTRhMmU1OWQ5YTRiNzE5ZWEyMTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.n3btR5U-SMrc4xnrpBIYIM66dQR_H6sLEA5wZp8y8iQ)