Skip to content

Commit

Permalink
docs: fix “consistent” typo (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicdoe authored Mar 26, 2020
1 parent 463b74e commit 0fa8d62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .README/rules/require-valid-file-annotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This rule validates Flow file annotations.

This rule can optionally report missing or missed placed annotations, common typos (e.g. `// @floww`), and enforce a consistant annotation style.
This rule can optionally report missing or missed placed annotations, common typos (e.g. `// @floww`), and enforce a consistent annotation style.

#### Options

Expand All @@ -13,7 +13,7 @@ The rule has a string option:

This rule has an object option:

* `"annotationStyle"` - Enforce a consistant file annotation style.
* `"annotationStyle"` - Enforce a consistent file annotation style.
* `"none"` (default): Either annotation style is accepted.
* `"line"`: Require single line annotations (i.e. `// @flow`).
* `"block"`: Require block annotations (i.e. `/* @flow */`).
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3724,7 +3724,7 @@ type Foo = number;
This rule validates Flow file annotations.
This rule can optionally report missing or missed placed annotations, common typos (e.g. `// @floww`), and enforce a consistant annotation style.
This rule can optionally report missing or missed placed annotations, common typos (e.g. `// @floww`), and enforce a consistent annotation style.

<a name="eslint-plugin-flowtype-rules-require-valid-file-annotation-options-9"></a>
#### Options
Expand All @@ -3736,7 +3736,7 @@ The rule has a string option:

This rule has an object option:

* `"annotationStyle"` - Enforce a consistant file annotation style.
* `"annotationStyle"` - Enforce a consistent file annotation style.
* `"none"` (default): Either annotation style is accepted.
* `"line"`: Require single line annotations (i.e. `// @flow`).
* `"block"`: Require block annotations (i.e. `/* @flow */`).
Expand Down

0 comments on commit 0fa8d62

Please sign in to comment.