sonar-openedge
sonar-openedge copied to clipboard
IndentationCheck - preprocessor directives
Hello,
Today, we are struggling with the IndentationCheck rule in legacy code using preprocessor directives. For readability, we put statements that only apply for TTY (or not) with 1 extra tab. But this violates the IndentationCheck rule.
Example below:
Do you see a possibility to enhance this? I guess the file is preprocessed for SonarLint analysis? Maybe if the rule could be configured to check the non-preprocessed code and ignore preprocessed blocks?