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

Add support for external analyzers #104

Open
1 of 2 tasks
FabienDehopre opened this issue Apr 14, 2024 · 2 comments
Open
1 of 2 tasks

Add support for external analyzers #104

FabienDehopre opened this issue Apr 14, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@FabienDehopre
Copy link

FabienDehopre commented Apr 14, 2024

Which scope/s are relevant/related to the feature request?

@koliveira15/nx-sonarqube

Information

SonarCloud supports external analyzers report files such as eslint, stylelint, etc...
Here is the documentation related to external analyzers: https://docs.sonarsource.com/sonarcloud/enriching/external-analyzer-reports/

Describe any alternatives/workarounds you're currently using

Amongst all the supported analyzers, I think we can add eslint and stylelint at first.
A boolean option should be added for each external analyzer.
The executor should look for the JSON report output file in the target configuration (lint for eslint and stylelint for stylelint).

I would be willing to submit a PR to provide this feature

  • Yes
  • No

I'll try to provide a PR for this feature but it may take a while since I don't have a lot of available time.

@FabienDehopre FabienDehopre added the enhancement New feature or request label Apr 14, 2024
@FabienDehopre FabienDehopre closed this as not planned Won't fix, can't repro, duplicate, stale Apr 14, 2024
@FabienDehopre FabienDehopre reopened this Apr 14, 2024
@FabienDehopre
Copy link
Author

Properties:

  • eslint: sonar.eslint.reportPaths
  • stylelint: sonar.css.stylelint.reportPaths

@koliveira15
Copy link
Owner

@FabienDehopre thanks for the issue. At this time, the plugin would only support lint plugins that are supported by the Nx team. If you want to give this a try with ESLint, then I'm all for it.

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

2 participants