integrated-application-development / delphilint

Delphi IDE package providing on-the-fly code analysis and linting, powered by SonarDelphi
GNU Lesser General Public License v3.0
79 stars 9 forks source link

possibility to disable or alter rules? #15

Closed georges-hatem closed 5 months ago

georges-hatem commented 5 months ago

Prerequisites

Inquiry

is there a plan to list the available rules, potentially deselecting the ones which are not of current high importance? in my case, my local variables start with a lowercase so I am bombarded with PascalCase warnings.

fourls commented 5 months ago

Hi @Khorkhe, since there's been a number of requests to be able to configure rules in standalone mode, I think this would be a good feature to add - I've just opened #16 to track progress on this. If you have any thoughts, feel free to discuss on that issue!

If you're using connected mode, you can already configure rules via SonarQube - the relevant section of the SonarDelphi manual is here.