Skip to content

Commit

Permalink
Chore: update links not correctly pointing to new documentation (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
armano2 authored and mysticatea committed Dec 30, 2018
1 parent 4261a39 commit f22f5ae
Show file tree
Hide file tree
Showing 63 changed files with 63 additions and 65 deletions.
4 changes: 1 addition & 3 deletions .eslintrc.js
@@ -1,7 +1,5 @@
'use strict'

const version = require('./package.json').version

module.exports = {
root: true,
parserOptions: {
Expand Down Expand Up @@ -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`
}]
}
}]
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/attribute-hyphenation.js
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/attributes-order.js
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/comment-directive.js
Expand Up @@ -110,7 +110,7 @@ module.exports = {
docs: {
description: 'support comment-directives in `<template>`',
category: 'base',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/comment-directive.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/comment-directive.html'
},
schema: []
},
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/component-name-in-template-casing.js
Expand Up @@ -24,7 +24,7 @@ module.exports = {
docs: {
description: 'enforce specific casing for the component naming style in template',
category: undefined,
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/component-name-in-template-casing.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/component-name-in-template-casing.html'
},
fixable: 'code',
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-closing-bracket-newline.js
Expand Up @@ -33,7 +33,7 @@ module.exports = {
docs: {
description: "require or disallow a line break before tag's closing brackets",
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/html-closing-bracket-newline.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/html-closing-bracket-newline.html'
},
fixable: 'whitespace',
schema: [{
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-closing-bracket-spacing.js
Expand Up @@ -54,7 +54,7 @@ module.exports = {
docs: {
description: 'require or disallow a space before tag\'s closing brackets',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/html-closing-bracket-spacing.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/html-closing-bracket-spacing.html'
},
schema: [{
type: 'object',
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-end-tags.js
Expand Up @@ -21,7 +21,7 @@ module.exports = {
docs: {
description: 'enforce end tag style',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/html-end-tags.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/html-end-tags.html'
},
fixable: 'code',
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-indent.js
Expand Up @@ -30,7 +30,7 @@ module.exports = {
docs: {
description: 'enforce consistent indentation in `<template>`',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/html-indent.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/html-indent.html'
},
fixable: 'whitespace',
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-quotes.js
Expand Up @@ -21,7 +21,7 @@ module.exports = {
docs: {
description: 'enforce quotes style of HTML attributes',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/html-quotes.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/html-quotes.html'
},
fixable: 'code',
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-self-closing.js
Expand Up @@ -89,7 +89,7 @@ module.exports = {
docs: {
description: 'enforce self-closing style',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/html-self-closing.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/html-self-closing.html'
},
fixable: 'code',
schema: {
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/jsx-uses-vars.js
Expand Up @@ -40,7 +40,7 @@ module.exports = {
docs: {
description: 'prevent variables used in JSX to be marked as unused', // eslint-disable-line consistent-docs-description
category: 'base',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/jsx-uses-vars.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/jsx-uses-vars.html'
},
schema: []
},
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/max-attributes-per-line.js
Expand Up @@ -15,7 +15,7 @@ module.exports = {
docs: {
description: 'enforce the maximum number of attributes per line',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/max-attributes-per-line.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/max-attributes-per-line.html'
},
fixable: 'whitespace', // or "code" or "whitespace"
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/multiline-html-element-content-newline.js
Expand Up @@ -55,7 +55,7 @@ module.exports = {
docs: {
description: 'require a line break before and after the contents of a multiline element',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/multiline-html-element-content-newline.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/multiline-html-element-content-newline.html'
},
fixable: 'whitespace',
schema: [{
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/mustache-interpolation-spacing.js
Expand Up @@ -20,7 +20,7 @@ module.exports = {
docs: {
description: 'enforce unified spacing in mustache interpolations',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/mustache-interpolation-spacing.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/mustache-interpolation-spacing.html'
},
fixable: 'whitespace',
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/name-property-casing.js
Expand Up @@ -18,7 +18,7 @@ module.exports = {
docs: {
description: 'enforce specific casing for the name property in Vue components',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/name-property-casing.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/name-property-casing.html'
},
fixable: 'code', // or "code" or "whitespace"
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-async-in-computed-properties.js
Expand Up @@ -65,7 +65,7 @@ module.exports = {
docs: {
description: 'disallow asynchronous actions in computed properties',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-async-in-computed-properties.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-async-in-computed-properties.html'
},
fixable: null,
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-confusing-v-for-v-if.js
Expand Up @@ -40,7 +40,7 @@ module.exports = {
docs: {
description: 'disallow confusing `v-for` and `v-if` on the same element',
category: 'recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-confusing-v-for-v-if.md',
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-confusing-v-for-v-if.html',
replacedBy: ['no-use-v-if-with-v-for']
},
deprecated: true,
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-dupe-keys.js
Expand Up @@ -18,7 +18,7 @@ module.exports = {
docs: {
description: 'disallow duplication of field names',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-dupe-keys.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-dupe-keys.html'
},
fixable: null, // or "code" or "whitespace"
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-duplicate-attributes.js
Expand Up @@ -40,7 +40,7 @@ module.exports = {
docs: {
description: 'disallow duplication of attributes',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-duplicate-attributes.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-duplicate-attributes.html'
},
fixable: null,

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-multi-spaces.js
Expand Up @@ -19,7 +19,7 @@ module.exports = {
docs: {
description: 'disallow multiple spaces',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-multi-spaces.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-multi-spaces.html'
},
fixable: 'whitespace', // or "code" or "whitespace"
schema: [{
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-parsing-error.js
Expand Up @@ -59,7 +59,7 @@ module.exports = {
docs: {
description: 'disallow parsing errors in `<template>`',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-parsing-error.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-parsing-error.html'
},
fixable: null,
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-reserved-keys.js
Expand Up @@ -19,7 +19,7 @@ module.exports = {
docs: {
description: 'disallow overwriting reserved keys',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-reserved-keys.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-reserved-keys.html'
},
fixable: null,
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-shared-component-data.js
Expand Up @@ -41,7 +41,7 @@ module.exports = {
docs: {
description: "enforce component's data property to be a function",
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-shared-component-data.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-shared-component-data.html'
},
fixable: 'code',
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-side-effects-in-computed-properties.js
Expand Up @@ -16,7 +16,7 @@ module.exports = {
docs: {
description: 'disallow side effects in computed properties',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-side-effects-in-computed-properties.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-side-effects-in-computed-properties.html'
},
fixable: null,
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-spaces-around-equal-signs-in-attribute.js
Expand Up @@ -20,7 +20,7 @@ module.exports = {
docs: {
description: 'disallow spaces around equal signs in attribute',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-spaces-around-equal-signs-in-attribute.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-spaces-around-equal-signs-in-attribute.html'
},
fixable: 'whitespace',
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-template-key.js
Expand Up @@ -21,7 +21,7 @@ module.exports = {
docs: {
description: 'disallow `key` attribute on `<template>`',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-template-key.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-template-key.html'
},
fixable: null,
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-template-shadow.js
Expand Up @@ -22,7 +22,7 @@ module.exports = {
docs: {
description: 'disallow variable declarations from shadowing variables declared in the outer scope',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-template-shadow.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-template-shadow.html'
},
fixable: null,
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-textarea-mustache.js
Expand Up @@ -21,7 +21,7 @@ module.exports = {
docs: {
description: 'disallow mustaches in `<textarea>`',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-textarea-mustache.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-textarea-mustache.html'
},
fixable: null,
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-unused-components.js
Expand Up @@ -21,7 +21,7 @@ module.exports = {
docs: {
description: 'disallow registering components that are not used inside templates',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-unused-components.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-unused-components.html'
},
fixable: null,
schema: [{
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-unused-vars.js
Expand Up @@ -16,7 +16,7 @@ module.exports = {
docs: {
description: 'disallow unused variable definitions of v-for directives or scope attributes',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-unused-vars.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-unused-vars.html'
},
fixable: null,
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-use-v-if-with-v-for.js
Expand Up @@ -53,7 +53,7 @@ module.exports = {
docs: {
description: 'disallow use v-if on the same element as v-for',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-use-v-if-with-v-for.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-use-v-if-with-v-for.html'
},
fixable: null,
schema: [{
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-v-html.js
Expand Up @@ -15,7 +15,7 @@ module.exports = {
docs: {
description: 'disallow use of v-html to prevent XSS attack',
category: 'recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/no-v-html.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/no-v-html.html'
},
fixable: null,
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/order-in-components.js
Expand Up @@ -136,7 +136,7 @@ module.exports = {
docs: {
description: 'enforce order of properties in components',
category: 'recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/order-in-components.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/order-in-components.html'
},
fixable: 'code', // null or "code" or "whitespace"
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/prop-name-casing.js
Expand Up @@ -75,7 +75,7 @@ module.exports = {
docs: {
description: 'enforce specific casing for the Prop name in Vue components',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/prop-name-casing.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/prop-name-casing.html'
},
fixable: 'code', // null or "code" or "whitespace"
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/require-component-is.js
Expand Up @@ -21,7 +21,7 @@ module.exports = {
docs: {
description: 'require `v-bind:is` of `<component>` elements',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/require-component-is.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/require-component-is.html'
},
fixable: null,
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/require-default-prop.js
Expand Up @@ -26,7 +26,7 @@ module.exports = {
docs: {
description: 'require default value for props',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/require-default-prop.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/require-default-prop.html'
},
fixable: null, // or "code" or "whitespace"
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/require-prop-type-constructor.js
Expand Up @@ -27,7 +27,7 @@ module.exports = {
docs: {
description: 'require prop type to be a constructor',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/require-prop-type-constructor.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/require-prop-type-constructor.html'
},
fixable: 'code', // or "code" or "whitespace"
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/require-prop-types.js
Expand Up @@ -16,7 +16,7 @@ module.exports = {
docs: {
description: 'require type definitions in props',
category: 'strongly-recommended',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/require-prop-types.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/require-prop-types.html'
},
fixable: null, // or "code" or "whitespace"
schema: [
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/require-render-return.js
Expand Up @@ -16,7 +16,7 @@ module.exports = {
docs: {
description: 'enforce render function to always return value',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/require-render-return.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/require-render-return.html'
},
fixable: null, // or "code" or "whitespace"
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/require-v-for-key.js
Expand Up @@ -21,7 +21,7 @@ module.exports = {
docs: {
description: 'require `v-bind:key` with `v-for` directives',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/require-v-for-key.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/require-v-for-key.html'
},
fixable: null,
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/require-valid-default-prop.js
Expand Up @@ -25,7 +25,7 @@ module.exports = {
docs: {
description: 'enforce props default values to be valid',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/require-valid-default-prop.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/require-valid-default-prop.html'
},
fixable: null,
schema: []
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/return-in-computed-property.js
Expand Up @@ -16,7 +16,7 @@ module.exports = {
docs: {
description: 'enforce that a return statement is present in computed property',
category: 'essential',
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/return-in-computed-property.md'
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/return-in-computed-property.html'
},
fixable: null, // or "code" or "whitespace"
schema: [
Expand Down

0 comments on commit f22f5ae

Please sign in to comment.