sonarjs/no-vue-class-component
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/no-vue-class-component": "error",
},
},
];Vue components should not use the deprecated "vue-class-component" or "vue-property-decorator" libraries
No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/no-vue-class-component
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/no-vue-class-component": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
React state setter function should not be called with its matching state variable
Type intersections should use meaningful types