We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We generate rules.xml file with rule descriptions that is imported by RulesDefinitionXmlLoader on the SQ plugin side.
rules.xml
RulesDefinitionXmlLoader
The only useful information that the file contains is a list of parameters of the rules. The rest can be read directly from the JSON files.
We should simplify rules.xml to contain only that. And consider moving to json instead.
We should not depend on RulesDefinitionXmlLoader, as it is deprecated by SQ, see SONAR-14908.
Data flow before:
rspec files -> rspec script -> Analyzer resx --+-> Utilities -> RuleDescriptorGenerator -> rules.xml -> Java plugin Rule parameters from reflection --------------´
Data flow after:
rspec files ---------------------------------------------------------------------+-> Java plugin Rule parameters from reflection -> RuleDescriptorGenerator -> parameters.json --´
The text was updated successfully, but these errors were encountered:
pavel-mikula-sonarsource
Successfully merging a pull request may close this issue.
We generate
rules.xml
file with rule descriptions that is imported byRulesDefinitionXmlLoader
on the SQ plugin side.The only useful information that the file contains is a list of parameters of the rules. The rest can be read directly from the JSON files.
We should
simplifyconsider moving to json instead.rules.xml
to contain only that. AndWe should not depend on
RulesDefinitionXmlLoader
, as it is deprecated by SQ, see SONAR-14908.Data flow before:
Data flow after:
The text was updated successfully, but these errors were encountered: