diff --git a/docs/rules/attributes-order.md b/docs/rules/attributes-order.md index 999a19523..06592811e 100644 --- a/docs/rules/attributes-order.md +++ b/docs/rules/attributes-order.md @@ -115,3 +115,7 @@ Specify custom order of attribute groups is="header"> ``` + +## Related links + +- [Style guide - Element attribute order](https://vuejs.org/v2/style-guide/#Element-attribute-order-recommended) diff --git a/docs/rules/html-self-closing.md b/docs/rules/html-self-closing.md index 4c269b2fe..809562573 100644 --- a/docs/rules/html-self-closing.md +++ b/docs/rules/html-self-closing.md @@ -61,3 +61,7 @@ Every option can be set to one of the following values: ``` + +## Related links + +- [Style guide - Self closing components](https://vuejs.org/v2/style-guide/#Self-closing-components-strongly-recommended) diff --git a/docs/rules/max-attributes-per-line.md b/docs/rules/max-attributes-per-line.md index 2935b7f3f..930dbf438 100644 --- a/docs/rules/max-attributes-per-line.md +++ b/docs/rules/max-attributes-per-line.md @@ -125,3 +125,7 @@ Number of maximum attributes per line when a tag is in multiple lines. (Default ## When Not To Use It If you do not want to check the number of attributes declared per line you can disable this rule. + +## Related links + +- [Style guide - Multi attribute elements](https://vuejs.org/v2/style-guide/#Multi-attribute-elements-strongly-recommended) diff --git a/docs/rules/name-property-casing.md b/docs/rules/name-property-casing.md index 3349351e7..1122a31f1 100644 --- a/docs/rules/name-property-casing.md +++ b/docs/rules/name-property-casing.md @@ -30,3 +30,7 @@ Default casing is set to `PascalCase`. ``` "vue/name-property-casing": ["error", "PascalCase|kebab-case"] ``` + +## Related links + +- [Style guide - Component name casing in JS/JSX](https://vuejs.org/v2/style-guide/#Component-name-casing-in-JS-JSX-strongly-recommended) diff --git a/docs/rules/no-async-in-computed-properties.md b/docs/rules/no-async-in-computed-properties.md index 1cc1ece0e..800fcea7f 100644 --- a/docs/rules/no-async-in-computed-properties.md +++ b/docs/rules/no-async-in-computed-properties.md @@ -55,5 +55,6 @@ computed: { Nothing. +## Related links -[vue-async-computed]: https://github.com/foxbenjaminfox/vue-async-computed +- [vue-async-computed](https://github.com/foxbenjaminfox/vue-async-computed) diff --git a/docs/rules/no-confusing-v-for-v-if.md b/docs/rules/no-confusing-v-for-v-if.md index c08732cb2..282306a05 100644 --- a/docs/rules/no-confusing-v-for-v-if.md +++ b/docs/rules/no-confusing-v-for-v-if.md @@ -48,3 +48,9 @@ In that case, the `v-if` should be written on the wrapper element. ## :wrench: Options Nothing. + +## Related links + +- [Style guide - Avoid v-if with v-for](https://vuejs.org/v2/style-guide/#Avoid-v-if-with-v-for-essential) +- [Guide - Conditional / v-if with v-for](https://vuejs.org/v2/guide/conditional.html#v-if-with-v-for) +- [Guide - List / v-for with v-if](https://vuejs.org/v2/guide/list.html#v-for-with-v-if) diff --git a/docs/rules/no-reserved-keys.md b/docs/rules/no-reserved-keys.md index 80331d4d7..86c15cbbb 100644 --- a/docs/rules/no-reserved-keys.md +++ b/docs/rules/no-reserved-keys.md @@ -2,7 +2,7 @@ - :gear: This rule is included in all of `"plugin:vue/essential"`, `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`. -This rule prevents to use reserved names from to avoid conflicts and unexpected behavior. +This rule prevents to use [reserved names](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/utils/vue-reserved.json) to avoid conflicts and unexpected behavior. ## Rule Details @@ -31,9 +31,9 @@ export default { This rule has an object option: -`"reserved"`: [] (default) array of dissalowed names inside `groups`. +`"reserved"`: [] (default) array of additional restricted attributes inside `groups`. -`"groups"`: [] (default) array of additional groups to search for duplicates. +`"groups"`: [] (default) array of additional group names to search for duplicates in. ### Example: @@ -56,3 +56,7 @@ export default { } } ``` + +## Related links + +- [List of reserved keys](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/utils/vue-reserved.json) diff --git a/docs/rules/no-shared-component-data.md b/docs/rules/no-shared-component-data.md index 346e4832e..3fb8ea8ff 100644 --- a/docs/rules/no-shared-component-data.md +++ b/docs/rules/no-shared-component-data.md @@ -52,3 +52,7 @@ export default { ## :wrench: Options Nothing. + +## Related links + +- [API - data](https://vuejs.org/v2/api/#data) diff --git a/docs/rules/no-textarea-mustache.md b/docs/rules/no-textarea-mustache.md index 0241138f0..fee06d01e 100644 --- a/docs/rules/no-textarea-mustache.md +++ b/docs/rules/no-textarea-mustache.md @@ -25,3 +25,7 @@ This rule reports mustaches in `