vue/camelcase
eslint-plugin-vue
No autofix
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/camelcase": "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.
vue/camelcase
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/camelcase": "error",
},
},
];Oxlint does not have this rule.
style/useNamingConvention
style · since 1.0.0
{
"linter": {
"rules": {
"style": {
"useNamingConvention": "error"
}
}
}
}Disallow usage of button without an explicit type attribute
Require component name property to match its file name