Configure rules in Standalone Mode #16
Labels
client
Affects the DelphiLint client IDE plugin
enhancement
New feature or request
server
Affects the DelphiLint server
Prerequisites
Engine area
Delphi analysis
Improvement description
Add a way to configure the ruleset SonarDelphi uses when running standalone.
In terms of specific details, SonarLint's Standalone Mode rules configuration has the following behaviour:
DelphiLint's implementation could follow in SonarLint's footsteps, considering that for complex project management, we do really want to encourage the use of a SonarQube server and Connected Mode.
Rationale
When running standalone, DelphiLint currently uses the default ruleset (the "Sonar way" quality profile).
This includes some opinionated rules (following Delphi's Object Pascal Style Guide) such as enforcing classes beginning with
T
, PascalCase variable names, etc. These rules are noisy and unhelpful if the codebase intentionally doesn't follow the style guide.In Connected Mode, the ruleset can be changed via the SonarQube UI. Having a similar functionality for Standalone Mode would be advantageous for users without a SonarQube server.
The text was updated successfully, but these errors were encountered: