eslint-plugin-sonar/sonarjs #4863
Replies: 3 comments 4 replies
-
I was thinking about this too, but we may run into problems considering it's LGPL licensed. |
Beta Was this translation helpful? Give feedback.
-
Hi, jumping in this discussion, I also beleive there is quite some great rules that would be very nice to be seen ported to oxlint. I'm already enjoying a lot the port of unicorn rules and I'm thinking sonar rules is a great addition. Furthermore, in corporate environment, sonar is well known and used for the vulnerabilities and quality scanning over the codebase. Having oxlint blazing fast checking those rules and auto-fixing some of them is a great value. Looking forward to see if this is something that could be integrated or not. |
Beta Was this translation helpful? Give feedback.
-
SonarQube has a very useful EsLint plugin (eslint-plugin-sonarjs) - I was always a fan of their "cognitive complexity" over other implementations of complexity measurement for example, and their rules are very useful as a style guide as well. Recently a new plugin was released that extracts all the rules from Sonar (eslint-plugin-sonar), which isn't official.
It would be great to have at least some of the rules from these plugins implemented in oxclint.
For reference:
eslint-plugin-sonarjs
eslint-plugin-sonar
Beta Was this translation helpful? Give feedback.
All reactions