Skip to content

Commit f4bc27f

Browse files
Copilotcoliff
andauthored
Fix grammatical error in attr-value-double-quotes rule documentation (#1755)
* Initial plan * Fix grammatical error: change "must closed" to "must be closed" Co-authored-by: coliff <1212885+coliff@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: coliff <1212885+coliff@users.noreply.github.com>
1 parent c87d7a7 commit f4bc27f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/cli/formatters/sarif.sarif

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"helpUri": "https://htmlhint.com/rules/attr-value-double-quotes",
1616
"help": {
1717
"text": "Attribute values must be in double quotes.",
18-
"markdown": "\nAttribute value must closed by double quotes.\n\nLevel: Error\n\n## Config value\n\n- `true`: enable rule\n- `false`: disable rule\n\n### The following patterns are **not** considered rule violations\n\n```html\n`<a href=\"\" title=\"abc\">``</a>`\n```\n\n### The following pattern is considered a rule violation:\n\n```html\n`<a href='' title='abc'>``</a>`\n```"
18+
"markdown": "\nAttribute value must be closed by double quotes.\n\nLevel: Error\n\n## Config value\n\n- `true`: enable rule\n- `false`: disable rule\n\n### The following patterns are **not** considered rule violations\n\n```html\n`<a href=\"\" title=\"abc\">``</a>`\n```\n\n### The following pattern is considered a rule violation:\n\n```html\n`<a href='' title='abc'>``</a>`\n```"
1919
}
2020
},
2121
{

website/src/content/docs/rules/attr-value-double-quotes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Requires attribute values in HTML to be enclosed in double quotes f
66

77
import { Badge } from '@astrojs/starlight/components';
88

9-
Attribute value must closed by double quotes.
9+
Attribute value must be closed by double quotes.
1010

1111
Level: <Badge text="Error" variant="danger" />
1212

0 commit comments

Comments
 (0)