vue/no-parsing-error
eslint-plugin-vue
No autofixRecommended
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/no-parsing-error": "error",
},
},
]; {{ . }}
{{ foo bar }}
<div :class="*abc*" / @click="def(">
</span>
</div id="ghi">
</template>The documentation shows no correct example for this rule.
Examples from the ESLint documentation.
vue/no-parsing-error
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/no-parsing-error": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Disallow registering components that are not used inside templates
Disallow use computed property like method
Disallow unused variable definitions of v-for directives or scope attributes
Enforce specific casing for component definition name