File tree 2 files changed +2
-0
lines changed
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,7 @@ For example:
285
285
| [ vue/no-bare-strings-in-template] ( ./no-bare-strings-in-template.md ) | disallow the use of bare strings in ` <template> ` | |
286
286
| [ vue/no-boolean-default] ( ./no-boolean-default.md ) | disallow boolean defaults | :wrench : |
287
287
| [ vue/no-duplicate-attr-inheritance] ( ./no-duplicate-attr-inheritance.md ) | enforce ` inheritAttrs ` to be set to ` false ` when using ` v-bind="$attrs" ` | |
288
+ | [ vue/no-empty-component-block] ( ./no-empty-component-block.md ) | disallow the ` <template> ` ` <script> ` ` <style> ` block to be empty | |
288
289
| [ vue/no-potential-component-option-typo] ( ./no-potential-component-option-typo.md ) | disallow a potential typo in your component property | |
289
290
| [ vue/no-reserved-component-names] ( ./no-reserved-component-names.md ) | disallow the use of reserved names in component definitions | |
290
291
| [ vue/no-restricted-static-attribute] ( ./no-restricted-static-attribute.md ) | disallow specific attribute | |
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ module.exports = {
68
68
'no-dupe-keys' : require ( './rules/no-dupe-keys' ) ,
69
69
'no-duplicate-attr-inheritance' : require ( './rules/no-duplicate-attr-inheritance' ) ,
70
70
'no-duplicate-attributes' : require ( './rules/no-duplicate-attributes' ) ,
71
+ 'no-empty-component-block' : require ( './rules/no-empty-component-block' ) ,
71
72
'no-empty-pattern' : require ( './rules/no-empty-pattern' ) ,
72
73
'no-extra-parens' : require ( './rules/no-extra-parens' ) ,
73
74
'no-irregular-whitespace' : require ( './rules/no-irregular-whitespace' ) ,
You can’t perform that action at this time.
0 commit comments