react/no-invalid-html-attribute
eslint-plugin-react
Suggestion
eslint.config.js
import react from "eslint-plugin-react";
export default [
{
plugins: { react },
rules: {
"react/no-invalid-html-attribute": "error",
},
},
];No code example for this rule
The linters' documentation does not include one we could extract.
react/no-invalid-html-attribute
eslint-plugin-react
import react from "eslint-plugin-react";
export default [
{
plugins: { react },
rules: {
"react/no-invalid-html-attribute": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Lifecycle methods should be methods on the prototype, not class fields
Disallow declaring unused methods of component class
Disallow when this.state is accessed within setState
Disallow missing parentheses around multiline JSX