sonarjs/fixme-tag
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/fixme-tag": "error",
},
},
];function divide(numerator, denominator) {
return numerator / denominator; // FIXME denominator value might be 0
}The documentation shows no correct example for this rule.
Examples from the ESLint documentation.
sonarjs/fixme-tag
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/fixme-tag": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
A "for" loop update clause should move the counter in the right direction
File permissions should not be set to world-accessible values
Functions should not be defined inside loops
Functions should always return the same type