You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think you should tell us the hlint version you used. I dont know haskell and haskell's hlint(I only use this sonarqube tool to check haskell code), but I think diffierent hlint has different rules. For example, I use HLint v2.1.11 to generate the hlintReport.json, but its rule must be very different from the rule in your sonar-haskell plugin, so the sonar scanner keeps reporting errors like 'The rule 'haskell-haskelllint:hlint:Use readTVarIO' does not exist', 'The rule 'haskell-haskelllint:hlint:Redundant return' does not exist', and so on.
The text was updated successfully, but these errors were encountered:
As explained in the readme, I took back this project from another person. The exhaustive list of rules is something I did not (yet) change.
I took a look once but for the life of me, I couldn't find a way to retrieve the exhaustive list of rules HLint can produce.
Should you find a way, I'd be happy to integrate it, or even better, if you open a PR to update the rules 😄
Hi,
I use the haskelllint-rules.xml file from the project "https://github.com/uartois/sonar-haskell", and add some rules to it.(based on the error messsages when i run sonarqube-haskell), my ubuntu HLint version is "HLint v2.1.11, (C) Neil Mitchell 2006-2018".
here attached my haskellint-rules text files. i don't konw if this is a common solution but it works for me. hope it can help. haskelllint-rules.txt
best regards
I think you should tell us the hlint version you used. I dont know haskell and haskell's hlint(I only use this sonarqube tool to check haskell code), but I think diffierent hlint has different rules. For example, I use HLint v2.1.11 to generate the hlintReport.json, but its rule must be very different from the rule in your sonar-haskell plugin, so the sonar scanner keeps reporting errors like 'The rule 'haskell-haskelllint:hlint:Use readTVarIO' does not exist', 'The rule 'haskell-haskelllint:hlint:Redundant return' does not exist', and so on.
The text was updated successfully, but these errors were encountered: