Skip to content
New issue

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

Always load reports/rules #1114

Open
bhirsz opened this issue Sep 24, 2024 · 0 comments
Open

Always load reports/rules #1114

bhirsz opened this issue Sep 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bhirsz
Copy link
Member

bhirsz commented Sep 24, 2024

Robocop uses plugin-like architecture where rules and reports act as plugins. They are dynamically discovered on start and loaded. If rule or report is not enabled it is not loaded at all (it could be changed recently for rules only - need to verify). That means if someone tries to configure report that is not enabled, it will fail with 'report does not exist' exception:

robocop --configure sarif:output_dir:src .

It should not affect the performance to have everything loaded - rules/reports can be filtered in runtime depending on the enabled status. Additional advantage is that it could make it possible to have multiple configuration files (depending on the dir) same as robotidy.

@bhirsz bhirsz added the enhancement New feature or request label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant