Skip to content

Commit f46ff18

Browse files
authored
Fix typos in docs (#683)
* Fix typo in no-invalid-regexp.md * fix character escapes in control-character-escape.md
1 parent c21b0f8 commit f46ff18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/rules/control-character-escape.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ since: "v0.9.0"
1717
1818
## :book: Rule Details
1919

20-
This rule reports control characters that were not escaped using a control escape (`\0`, `t`, `\n`, `\v`, `f`, `\r`).
20+
This rule reports control characters that were not escaped using a control escape (`\0`, `\t`, `\n`, `\v`, `\f`, `\r`).
2121

2222
<eslint-code-block fix>
2323

docs/rules/no-invalid-regexp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ RegExp('=' + space + '+(\\w+)', 'u')
3939

4040
### Differences to ESLint's `no-invalid-regexp` rule
4141

42-
This rule is almost functionally equivalent to ESLint's [no-invalid-regexp] rule. The only difference is that this rule doesn't valid flags (see [no-non-standard-flag](./no-non-standard-flag.html)).
42+
This rule is almost functionally equivalent to ESLint's [no-invalid-regexp] rule. The only difference is that this rule doesn't validate flags (see [no-non-standard-flag](./no-non-standard-flag.html)).
4343

4444
There are two reasons we provide this rule:
4545

0 commit comments

Comments
 (0)