unicorn/comment-content
eslint-plugin-unicorn
Safe autofix
eslint.config.js
import unicorn from "eslint-plugin-unicorn";
export default [
{
plugins: { unicorn },
rules: {
"unicorn/comment-content": "error",
},
},
];// nodejs uses javascript.// See the github issue.// The application stores png files.// Run `git config --list`.// Node.js uses JavaScript.// See the GitHub issue.Examples from the ESLint documentation.
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.
unicorn/comment-content
eslint-plugin-unicorn
import unicorn from "eslint-plugin-unicorn";
export default [
{
plugins: { unicorn },
rules: {
"unicorn/comment-content": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Enforce consistent spacing before and after commas in JSON and SOML.
Enforce a consistent return style for multiline arrow function bodies.