diff --git a/docs/rules/README.md b/docs/rules/README.md index 6b8b2df5c..96d0a96c1 100644 --- a/docs/rules/README.md +++ b/docs/rules/README.md @@ -150,6 +150,7 @@ For example: | [vue/key-spacing](./key-spacing.md) | enforce consistent spacing between keys and values in object literal properties | :wrench: | | [vue/match-component-file-name](./match-component-file-name.md) | require component name property to match its file name | | | [vue/no-boolean-default](./no-boolean-default.md) | disallow boolean defaults | :wrench: | +| [vue/no-empty-pattern](./no-empty-pattern.md) | disallow empty destructuring patterns | | | [vue/no-restricted-syntax](./no-restricted-syntax.md) | disallow specified syntax | | | [vue/object-curly-spacing](./object-curly-spacing.md) | enforce consistent spacing inside braces | :wrench: | | [vue/require-direct-export](./require-direct-export.md) | require the component to be directly exported | | diff --git a/docs/rules/no-empty-pattern.md b/docs/rules/no-empty-pattern.md new file mode 100644 index 000000000..dd23c9f5b --- /dev/null +++ b/docs/rules/no-empty-pattern.md @@ -0,0 +1,21 @@ +--- +pageClass: rule-details +sidebarDepth: 0 +title: vue/no-empty-pattern +description: disallow empty destructuring patterns +--- +# vue/no-empty-pattern +> disallow empty destructuring patterns + +This rule is the same rule as core [no-empty-pattern] rule but it applies to the expressions in `