sonarjs/comment-regex
eslint-plugin-sonarjs
No autofix
eslint.config.js
export default [
{
rules: {
"sonarjs/comment-regex": "error",
},
},
];No code example for this rule
The linters' documentation does not include one we could extract.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
sonarjs/comment-regex
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/comment-regex": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Class methods should be used instead of "prototype" assignments
Optional boolean parameters should have default value
IAM policies should not grant access to all account resources
Braces and parentheses should be used consistently with arrow functions
Cyclomatic Complexity of functions should not be too high