Skip to content

Commit f22f5ae

Browse files
armano2mysticatea
authored andcommitted
Chore: update links not correctly pointing to new documentation (#707)
1 parent 4261a39 commit f22f5ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+63
-65
lines changed

.eslintrc.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
'use strict'
22

3-
const version = require('./package.json').version
4-
53
module.exports = {
64
root: true,
75
parserOptions: {
@@ -31,7 +29,7 @@ module.exports = {
3129
"consistent-docs-description": "error",
3230
"no-invalid-meta": "error",
3331
"require-meta-docs-url": ["error", {
34-
"pattern": `https://github.com/vuejs/eslint-plugin-vue/blob/v${version}/docs/rules/{{name}}.md`
32+
"pattern": `https://vuejs.github.io/eslint-plugin-vue/rules/{{name}}.html`
3533
}]
3634
}
3735
}]

lib/rules/attribute-hyphenation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
docs: {
1818
description: 'enforce attribute naming style on custom components in template',
1919
category: 'strongly-recommended',
20-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/attribute-hyphenation.md'
20+
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/attribute-hyphenation.html'
2121
},
2222
fixable: 'code',
2323
schema: [

lib/rules/attributes-order.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module.exports = {
107107
docs: {
108108
description: 'enforce order of attributes',
109109
category: 'recommended',
110-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/attributes-order.md'
110+
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/attributes-order.html'
111111
},
112112
fixable: 'code',
113113
schema: {

lib/rules/comment-directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ module.exports = {
110110
docs: {
111111
description: 'support comment-directives in `<template>`',
112112
category: 'base',
113-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/comment-directive.md'
113+
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/comment-directive.html'
114114
},
115115
schema: []
116116
},

lib/rules/component-name-in-template-casing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
docs: {
2525
description: 'enforce specific casing for the component naming style in template',
2626
category: undefined,
27-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/component-name-in-template-casing.md'
27+
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/component-name-in-template-casing.html'
2828
},
2929
fixable: 'code',
3030
schema: [

lib/rules/html-closing-bracket-newline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = {
3333
docs: {
3434
description: "require or disallow a line break before tag's closing brackets",
3535
category: 'strongly-recommended',
36-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/html-closing-bracket-newline.md'
36+
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/html-closing-bracket-newline.html'
3737
},
3838
fixable: 'whitespace',
3939
schema: [{

lib/rules/html-closing-bracket-spacing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module.exports = {
5454
docs: {
5555
description: 'require or disallow a space before tag\'s closing brackets',
5656
category: 'strongly-recommended',
57-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/html-closing-bracket-spacing.md'
57+
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/html-closing-bracket-spacing.html'
5858
},
5959
schema: [{
6060
type: 'object',

lib/rules/html-end-tags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
docs: {
2222
description: 'enforce end tag style',
2323
category: 'strongly-recommended',
24-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/html-end-tags.md'
24+
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/html-end-tags.html'
2525
},
2626
fixable: 'code',
2727
schema: []

lib/rules/html-indent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = {
3030
docs: {
3131
description: 'enforce consistent indentation in `<template>`',
3232
category: 'strongly-recommended',
33-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/html-indent.md'
33+
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/html-indent.html'
3434
},
3535
fixable: 'whitespace',
3636
schema: [

lib/rules/html-quotes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
docs: {
2222
description: 'enforce quotes style of HTML attributes',
2323
category: 'strongly-recommended',
24-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v5.0.0/docs/rules/html-quotes.md'
24+
url: 'https://vuejs.github.io/eslint-plugin-vue/rules/html-quotes.html'
2525
},
2626
fixable: 'code',
2727
schema: [

0 commit comments

Comments
 (0)