You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The readme lists all the available rules (yay), but gives no indication which of those are part of the recommended preset, and which aren't. Since I'd like to check out the others rules, I'm looking for a list of the rules outside the preset. Which I can't find so far.
Here's another example, which only lists the rules in the preset, separate from the main list of rules: https://github.com/yannickcr/eslint-plugin-react#recommended - still better than nothing, but requires more effort to identify the not-in-the-preset rules.
The text was updated successfully, but these errors were encountered:
https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/src/index.ts is in fact the place where the recommended preset is generated.
At the moment the recommended preset contains all available rules in this plugin on error level.
I could imagine that we could offer a few more presets as improvements: For example Bug Detection and Code Smell Detection as seperate presets as well as a warn preset is described in #166
I want to request a feature.
The readme lists all the available rules (yay), but gives no indication which of those are part of the recommended preset, and which aren't. Since I'd like to check out the others rules, I'm looking for a list of the rules outside the preset. Which I can't find so far.
I suspect that the recommended preset is created here, but I haven't yet figured out what's actually happening: https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/src/index.ts
Here's an example of a table of rules from a different plugin that indicate which rules are included in which preset: https://github.com/testing-library/eslint-plugin-testing-library#supported-rules - this is really nice!
Here's another example, which only lists the rules in the preset, separate from the main list of rules: https://github.com/yannickcr/eslint-plugin-react#recommended - still better than nothing, but requires more effort to identify the not-in-the-preset rules.
The text was updated successfully, but these errors were encountered: