Skip to content

Commit 6a95ae6

Browse files
is2einschonni
authored andcommitted
fix: correct links to rule docs
fix #867
1 parent dac2bf3 commit 6a95ae6

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

dist/core/reporter.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/htmlhint.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
rule: {
299299
id: rule.id,
300300
description: rule.description,
301-
link: `https://github.com/thedaviddias/HTMLHint/wiki/${rule.id}`,
301+
link: `https://htmlhint.com/docs/user-guide/rules/${rule.id}`,
302302
},
303303
});
304304
}

dist/htmlhint.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core/reporter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default class Reporter {
8484
rule: {
8585
id: rule.id,
8686
description: rule.description,
87-
link: `https://github.com/thedaviddias/HTMLHint/wiki/${rule.id}`,
87+
link: `https://htmlhint.com/docs/user-guide/rules/${rule.id}`,
8888
} as Rule,
8989
})
9090
}

test/cli/formatters/json.json

+20-20
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"rule": {
1313
"id": "attr-value-double-quotes",
1414
"description": "Attribute values must be in double quotes.",
15-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
15+
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
1616
}
1717
},
1818
{
@@ -25,7 +25,7 @@
2525
"rule": {
2626
"id": "attr-value-double-quotes",
2727
"description": "Attribute values must be in double quotes.",
28-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
28+
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
2929
}
3030
},
3131
{
@@ -38,7 +38,7 @@
3838
"rule": {
3939
"id": "attr-no-duplication",
4040
"description": "Elements cannot have duplicate attributes.",
41-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-no-duplication"
41+
"link": "https://htmlhint.com/docs/user-guide/rules/attr-no-duplication"
4242
}
4343
},
4444
{
@@ -51,7 +51,7 @@
5151
"rule": {
5252
"id": "attr-value-double-quotes",
5353
"description": "Attribute values must be in double quotes.",
54-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
54+
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
5555
}
5656
},
5757
{
@@ -64,7 +64,7 @@
6464
"rule": {
6565
"id": "attr-value-double-quotes",
6666
"description": "Attribute values must be in double quotes.",
67-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
67+
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
6868
}
6969
},
7070
{
@@ -77,7 +77,7 @@
7777
"rule": {
7878
"id": "attr-no-duplication",
7979
"description": "Elements cannot have duplicate attributes.",
80-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-no-duplication"
80+
"link": "https://htmlhint.com/docs/user-guide/rules/attr-no-duplication"
8181
}
8282
},
8383
{
@@ -90,7 +90,7 @@
9090
"rule": {
9191
"id": "tag-pair",
9292
"description": "Tag must be paired.",
93-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
93+
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
9494
}
9595
},
9696
{
@@ -103,7 +103,7 @@
103103
"rule": {
104104
"id": "spec-char-escape",
105105
"description": "Special characters must be escaped.",
106-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/spec-char-escape"
106+
"link": "https://htmlhint.com/docs/user-guide/rules/spec-char-escape"
107107
}
108108
},
109109
{
@@ -116,7 +116,7 @@
116116
"rule": {
117117
"id": "spec-char-escape",
118118
"description": "Special characters must be escaped.",
119-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/spec-char-escape"
119+
"link": "https://htmlhint.com/docs/user-guide/rules/spec-char-escape"
120120
}
121121
},
122122
{
@@ -129,7 +129,7 @@
129129
"rule": {
130130
"id": "tag-pair",
131131
"description": "Tag must be paired.",
132-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
132+
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
133133
}
134134
},
135135
{
@@ -142,7 +142,7 @@
142142
"rule": {
143143
"id": "tag-pair",
144144
"description": "Tag must be paired.",
145-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
145+
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
146146
}
147147
},
148148
{
@@ -155,7 +155,7 @@
155155
"rule": {
156156
"id": "tag-pair",
157157
"description": "Tag must be paired.",
158-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
158+
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
159159
}
160160
},
161161
{
@@ -168,7 +168,7 @@
168168
"rule": {
169169
"id": "tag-pair",
170170
"description": "Tag must be paired.",
171-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
171+
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
172172
}
173173
},
174174
{
@@ -181,7 +181,7 @@
181181
"rule": {
182182
"id": "tag-pair",
183183
"description": "Tag must be paired.",
184-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
184+
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
185185
}
186186
},
187187
{
@@ -194,7 +194,7 @@
194194
"rule": {
195195
"id": "attr-value-double-quotes",
196196
"description": "Attribute values must be in double quotes.",
197-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
197+
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
198198
}
199199
},
200200
{
@@ -207,7 +207,7 @@
207207
"rule": {
208208
"id": "attr-value-double-quotes",
209209
"description": "Attribute values must be in double quotes.",
210-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
210+
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
211211
}
212212
},
213213
{
@@ -220,7 +220,7 @@
220220
"rule": {
221221
"id": "attr-value-double-quotes",
222222
"description": "Attribute values must be in double quotes.",
223-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
223+
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
224224
}
225225
},
226226
{
@@ -233,7 +233,7 @@
233233
"rule": {
234234
"id": "tag-pair",
235235
"description": "Tag must be paired.",
236-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
236+
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
237237
}
238238
},
239239
{
@@ -246,7 +246,7 @@
246246
"rule": {
247247
"id": "tag-pair",
248248
"description": "Tag must be paired.",
249-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
249+
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
250250
}
251251
},
252252
{
@@ -259,7 +259,7 @@
259259
"rule": {
260260
"id": "tag-pair",
261261
"description": "Tag must be paired.",
262-
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
262+
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
263263
}
264264
}
265265
],

0 commit comments

Comments
 (0)