vue/dot-notation
eslint-plugin-vue
Safe autofix
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/dot-notation": "error",
},
},
];a.b["c"];a.c[`d`]a.c[`d`] = "something"a["c" + "d"];
a[d.c];Examples from the Biome documentation.
vue/dot-notation
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/dot-notation": "error",
},
},
];Oxlint does not have this rule.
complexity/useLiteralKeys
complexity · since 1.0.0
{
"linter": {
"rules": {
"complexity": {
"useLiteralKeys": "error"
}
}
}
}Enforce dot notation whenever possible
Enforce order of compiler macros (defineProps, defineEmits, etc.)
Enforce the casing of component name in components options
Disallow empty destructuring patterns in <template>