diff --git a/docs/rules/README.md b/docs/rules/README.md index 9b32f097d..f18b491fc 100644 --- a/docs/rules/README.md +++ b/docs/rules/README.md @@ -281,6 +281,7 @@ For example: | [vue/comma-style](./comma-style.md) | enforce consistent comma style | :wrench: | | [vue/component-name-in-template-casing](./component-name-in-template-casing.md) | enforce specific casing for the component naming style in template | :wrench: | | [vue/dot-location](./dot-location.md) | enforce consistent newlines before and after dots | :wrench: | +| [vue/dot-notation](./dot-notation.md) | enforce dot notation whenever possible | :wrench: | | [vue/eqeqeq](./eqeqeq.md) | require the use of `===` and `!==` | :wrench: | | [vue/html-comment-content-newline](./html-comment-content-newline.md) | enforce unified line brake in HTML comments | :wrench: | | [vue/html-comment-content-spacing](./html-comment-content-spacing.md) | enforce unified spacing in HTML comments | :wrench: | diff --git a/docs/rules/dot-notation.md b/docs/rules/dot-notation.md new file mode 100644 index 000000000..17c21d3b5 --- /dev/null +++ b/docs/rules/dot-notation.md @@ -0,0 +1,23 @@ +--- +pageClass: rule-details +sidebarDepth: 0 +title: vue/dot-notation +description: enforce dot notation whenever possible +--- +# vue/dot-notation +> enforce dot notation whenever possible + +- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule. + +This rule is the same rule as core [dot-notation] rule but it applies to the expressions in `