We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19963be commit 41fc721Copy full SHA for 41fc721
docs/rules/no-empty-component-block.md
@@ -19,7 +19,7 @@ This rule disallows the `<template>` `<script>` `<style>` block to be empty.
19
This rule also checks block what has attribute `src`.
20
See [Vue Single-File Component (SFC) Spec](https://vue-loader.vuejs.org/spec.html#src-imports).
21
22
-<eslint-code-block fix :rules="{'vue/no-empty-component-block': ['error']}">
+<eslint-code-block fix :rules="{'vue/no-empty-component-block': ['error', { autofix: true }]}">
23
24
```vue
25
<!-- ✓ GOOD -->
@@ -64,7 +64,15 @@ p {
64
65
## :wrench: Options
66
67
-Nothing.
+```json
68
+{
69
+ "vue/no-duplicate-attributes": ["error", {
70
+ "autofix": false,
71
+ }]
72
+}
73
+```
74
+
75
+- `"autofix"` ... If `true`, enable autofix. (Default: `false`)
76
77
## :rocket: Version
78
0 commit comments