Skip to content

Commit f59b2f8

Browse files
authored
docs: fix some typos (#381)
1 parent ed01747 commit f59b2f8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/rules/fenced-code-language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The following options are available on this rule:
3434

3535
* `required: Array<string>` - when specified, fenced code blocks must use one of the languages specified in this array.
3636

37-
Examples of incorrect code when configured as `"fenced-code-language: ["error", { required: ["js"]}]`:
37+
Examples of incorrect code when configured as `"fenced-code-language": ["error", { required: ["js"] }]`:
3838

3939
````markdown
4040
```javascript

docs/rules/heading-increment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ It can be difficult to keep track of the correct heading levels in a long docume
88

99
## Rule Details
1010

11-
This rule warns when it finds a heading that is more than on level higher than the preceding heading.
11+
This rule warns when it finds a heading that is more than one level higher than the preceding heading.
1212

1313
Examples of incorrect code:
1414

docs/rules/no-html.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ Hello <b>world!</b>
2222

2323
The following options are available on this rule:
2424

25-
* `allowed: Array<string>` - when specified, HTML tags are allowed only if they match one of the tags in this array..
25+
* `allowed: Array<string>` - when specified, HTML tags are allowed only if they match one of the tags in this array.
2626

27-
Examples of incorrect code when configured as `"no-html: ["error", { allowed: ["b"]}]`:
27+
Examples of incorrect code when configured as `"no-html": ["error", { allowed: ["b"] }]`:
2828

2929
```markdown
3030
# Heading 1
3131

3232
Hello <em>world!</em>
3333
```
3434

35-
Examples of correct code when configured as `"no-html: ["error", { allowed: ["b"]}]`:
35+
Examples of correct code when configured as `"no-html": ["error", { allowed: ["b"] }]`:
3636

3737
```markdown
3838
# Heading 1

0 commit comments

Comments
 (0)