From 66e0b68fbd2bbff081c7cb3d63b2a226057949db Mon Sep 17 00:00:00 2001 From: Armano Date: Sun, 9 Dec 2018 03:47:15 +0100 Subject: [PATCH] Chore: update links not correctly pointing to new documentation --- .eslintrc.js | 4 +--- lib/rules/attribute-hyphenation.js | 2 +- lib/rules/attributes-order.js | 2 +- lib/rules/comment-directive.js | 2 +- lib/rules/component-name-in-template-casing.js | 2 +- lib/rules/html-closing-bracket-newline.js | 2 +- lib/rules/html-closing-bracket-spacing.js | 2 +- lib/rules/html-end-tags.js | 2 +- lib/rules/html-indent.js | 2 +- lib/rules/html-quotes.js | 2 +- lib/rules/html-self-closing.js | 2 +- lib/rules/jsx-uses-vars.js | 2 +- lib/rules/max-attributes-per-line.js | 2 +- lib/rules/multiline-html-element-content-newline.js | 2 +- lib/rules/mustache-interpolation-spacing.js | 2 +- lib/rules/name-property-casing.js | 2 +- lib/rules/no-async-in-computed-properties.js | 2 +- lib/rules/no-confusing-v-for-v-if.js | 2 +- lib/rules/no-dupe-keys.js | 2 +- lib/rules/no-duplicate-attributes.js | 2 +- lib/rules/no-multi-spaces.js | 2 +- lib/rules/no-parsing-error.js | 2 +- lib/rules/no-reserved-keys.js | 2 +- lib/rules/no-shared-component-data.js | 2 +- lib/rules/no-side-effects-in-computed-properties.js | 2 +- lib/rules/no-spaces-around-equal-signs-in-attribute.js | 2 +- lib/rules/no-template-key.js | 2 +- lib/rules/no-template-shadow.js | 2 +- lib/rules/no-textarea-mustache.js | 2 +- lib/rules/no-unused-components.js | 2 +- lib/rules/no-unused-vars.js | 2 +- lib/rules/no-use-v-if-with-v-for.js | 2 +- lib/rules/no-v-html.js | 2 +- lib/rules/order-in-components.js | 2 +- lib/rules/prop-name-casing.js | 2 +- lib/rules/require-component-is.js | 2 +- lib/rules/require-default-prop.js | 2 +- lib/rules/require-prop-type-constructor.js | 2 +- lib/rules/require-prop-types.js | 2 +- lib/rules/require-render-return.js | 2 +- lib/rules/require-v-for-key.js | 2 +- lib/rules/require-valid-default-prop.js | 2 +- lib/rules/return-in-computed-property.js | 2 +- lib/rules/script-indent.js | 2 +- lib/rules/singleline-html-element-content-newline.js | 2 +- lib/rules/this-in-template.js | 2 +- lib/rules/use-v-on-exact.js | 2 +- lib/rules/v-bind-style.js | 2 +- lib/rules/v-on-style.js | 2 +- lib/rules/valid-template-root.js | 2 +- lib/rules/valid-v-bind.js | 2 +- lib/rules/valid-v-cloak.js | 2 +- lib/rules/valid-v-else-if.js | 2 +- lib/rules/valid-v-else.js | 2 +- lib/rules/valid-v-for.js | 2 +- lib/rules/valid-v-html.js | 2 +- lib/rules/valid-v-if.js | 2 +- lib/rules/valid-v-model.js | 2 +- lib/rules/valid-v-on.js | 2 +- lib/rules/valid-v-once.js | 2 +- lib/rules/valid-v-pre.js | 2 +- lib/rules/valid-v-show.js | 2 +- lib/rules/valid-v-text.js | 2 +- 63 files changed, 63 insertions(+), 65 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index b8f76a4f4..1f7f299aa 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,7 +1,5 @@ 'use strict' -const version = require('./package.json').version - module.exports = { root: true, parserOptions: { @@ -31,7 +29,7 @@ module.exports = { "consistent-docs-description": "error", "no-invalid-meta": "error", "require-meta-docs-url": ["error", { - "pattern": `https://github.com/vuejs/eslint-plugin-vue/blob/v${version}/docs/rules/{{name}}.md` + "pattern": `https://vuejs.github.io/eslint-plugin-vue/rules/{{name}}.html` }] } }] diff --git a/lib/rules/attribute-hyphenation.js b/lib/rules/attribute-hyphenation.js index f7acd68b4..36da22b5f 100644 --- a/lib/rules/attribute-hyphenation.js +++ b/lib/rules/attribute-hyphenation.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: 'enforce attribute naming style on custom components in template', category: 'strongly-recommended', - url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/attribute-hyphenation.md' + url: 'https://vuejs.github.io/eslint-plugin-vue/rules/attribute-hyphenation.html' }, fixable: 'code', schema: [ diff --git a/lib/rules/attributes-order.js b/lib/rules/attributes-order.js index 3d2a11f0e..31e2a21c4 100644 --- a/lib/rules/attributes-order.js +++ b/lib/rules/attributes-order.js @@ -107,7 +107,7 @@ module.exports = { docs: { description: 'enforce order of attributes', category: 'recommended', - url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/attributes-order.md' + url: 'https://vuejs.github.io/eslint-plugin-vue/rules/attributes-order.html' }, fixable: 'code', schema: { diff --git a/lib/rules/comment-directive.js b/lib/rules/comment-directive.js index ac08ed0d8..1219aa894 100644 --- a/lib/rules/comment-directive.js +++ b/lib/rules/comment-directive.js @@ -110,7 +110,7 @@ module.exports = { docs: { description: 'support comment-directives in `