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

feat: add sonarjs plugin #6

Merged
merged 1 commit into from
May 19, 2023
Merged

feat: add sonarjs plugin #6

merged 1 commit into from
May 19, 2023

Conversation

beawar
Copy link
Contributor

@beawar beawar commented Apr 20, 2023

Add sonarjs plugin to eslint and use the recommended configuration, which is a subset of the configuration for js and ts of SonarQube (see https://rules.sonarsource.com/typescript and https://rules.sonarsource.com/javascript).
Given that, it is suggested installing also SonalLint plugin for the IDE.

In case there are too many errors generated by this new rules in your project, override the needed rules in your eslint configuration, setting them with type 'warn', and progressively fix the warnings. When you feel comfortable, remove the override and return to have the default rules set to type 'error'.

@beawar beawar self-assigned this Apr 28, 2023
@beawar beawar merged commit 8b43e99 into devel May 19, 2023
@beawar beawar deleted the sonarjs-eslint branch May 19, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants