Skip to content

Commit

Permalink
fix: correct links to rule docs
Browse files Browse the repository at this point in the history
fix #867
  • Loading branch information
is2ei authored and nschonni committed Jan 23, 2022
1 parent dac2bf3 commit 6a95ae6
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions dist/core/reporter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/htmlhint.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
rule: {
id: rule.id,
description: rule.description,
link: `https://github.com/thedaviddias/HTMLHint/wiki/${rule.id}`,
link: `https://htmlhint.com/docs/user-guide/rules/${rule.id}`,
},
});
}
Expand Down
2 changes: 1 addition & 1 deletion dist/htmlhint.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/core/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class Reporter {
rule: {
id: rule.id,
description: rule.description,
link: `https://github.com/thedaviddias/HTMLHint/wiki/${rule.id}`,
link: `https://htmlhint.com/docs/user-guide/rules/${rule.id}`,
} as Rule,
})
}
Expand Down
40 changes: 20 additions & 20 deletions test/cli/formatters/json.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"rule": {
"id": "attr-value-double-quotes",
"description": "Attribute values must be in double quotes.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
}
},
{
Expand All @@ -25,7 +25,7 @@
"rule": {
"id": "attr-value-double-quotes",
"description": "Attribute values must be in double quotes.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
}
},
{
Expand All @@ -38,7 +38,7 @@
"rule": {
"id": "attr-no-duplication",
"description": "Elements cannot have duplicate attributes.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-no-duplication"
"link": "https://htmlhint.com/docs/user-guide/rules/attr-no-duplication"
}
},
{
Expand All @@ -51,7 +51,7 @@
"rule": {
"id": "attr-value-double-quotes",
"description": "Attribute values must be in double quotes.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
}
},
{
Expand All @@ -64,7 +64,7 @@
"rule": {
"id": "attr-value-double-quotes",
"description": "Attribute values must be in double quotes.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
}
},
{
Expand All @@ -77,7 +77,7 @@
"rule": {
"id": "attr-no-duplication",
"description": "Elements cannot have duplicate attributes.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-no-duplication"
"link": "https://htmlhint.com/docs/user-guide/rules/attr-no-duplication"
}
},
{
Expand All @@ -90,7 +90,7 @@
"rule": {
"id": "tag-pair",
"description": "Tag must be paired.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
}
},
{
Expand All @@ -103,7 +103,7 @@
"rule": {
"id": "spec-char-escape",
"description": "Special characters must be escaped.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/spec-char-escape"
"link": "https://htmlhint.com/docs/user-guide/rules/spec-char-escape"
}
},
{
Expand All @@ -116,7 +116,7 @@
"rule": {
"id": "spec-char-escape",
"description": "Special characters must be escaped.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/spec-char-escape"
"link": "https://htmlhint.com/docs/user-guide/rules/spec-char-escape"
}
},
{
Expand All @@ -129,7 +129,7 @@
"rule": {
"id": "tag-pair",
"description": "Tag must be paired.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
}
},
{
Expand All @@ -142,7 +142,7 @@
"rule": {
"id": "tag-pair",
"description": "Tag must be paired.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
}
},
{
Expand All @@ -155,7 +155,7 @@
"rule": {
"id": "tag-pair",
"description": "Tag must be paired.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
}
},
{
Expand All @@ -168,7 +168,7 @@
"rule": {
"id": "tag-pair",
"description": "Tag must be paired.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
}
},
{
Expand All @@ -181,7 +181,7 @@
"rule": {
"id": "tag-pair",
"description": "Tag must be paired.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
}
},
{
Expand All @@ -194,7 +194,7 @@
"rule": {
"id": "attr-value-double-quotes",
"description": "Attribute values must be in double quotes.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
}
},
{
Expand All @@ -207,7 +207,7 @@
"rule": {
"id": "attr-value-double-quotes",
"description": "Attribute values must be in double quotes.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
}
},
{
Expand All @@ -220,7 +220,7 @@
"rule": {
"id": "attr-value-double-quotes",
"description": "Attribute values must be in double quotes.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/attr-value-double-quotes"
"link": "https://htmlhint.com/docs/user-guide/rules/attr-value-double-quotes"
}
},
{
Expand All @@ -233,7 +233,7 @@
"rule": {
"id": "tag-pair",
"description": "Tag must be paired.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
}
},
{
Expand All @@ -246,7 +246,7 @@
"rule": {
"id": "tag-pair",
"description": "Tag must be paired.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
}
},
{
Expand All @@ -259,7 +259,7 @@
"rule": {
"id": "tag-pair",
"description": "Tag must be paired.",
"link": "https://github.com/thedaviddias/HTMLHint/wiki/tag-pair"
"link": "https://htmlhint.com/docs/user-guide/rules/tag-pair"
}
}
],
Expand Down

0 comments on commit 6a95ae6

Please sign in to comment.