Skip to content

Commit

Permalink
docs: fail-on-non-exist should be fail-on-non-existent (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brend-Smits authored Mar 17, 2021
1 parent 19c5294 commit d66591c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Checks if the contents of a file match a given regular expression.
| `nocase` | No | `boolean` | `false` | Set to `true` to make the globs case insensitive. This does not effect the case sensitivity of the regular expression. |
| `flags` | No | `string` | `""` | The flags to use for the regular expression in `content` (ex. `"i"` for case insensitivity). |
| `human-readable-content` | No | `string` | The regular expression in `content` | The string to print instead of the regular expression when generating human-readable output. |
| `fail-on-non-exist` | No | `boolean` | `false` | Set to `true` to disable passing if no files are found from `globsAll`. |
| `fail-on-non-existent` | No | `boolean` | `false` | Set to `true` to disable passing if no files are found from `globsAll`. |

### `file-existence`

Expand Down Expand Up @@ -107,7 +107,7 @@ Checks none of a given list of files match a given regular expression.
| `nocase` | No | `boolean` | `false` | Set to `true` to make the globs case insensitive. This does not effect the case sensitivity of the regular expression. |
| `flags` | No | `string` | `""` | The flags to use for the regular expression in `content` (ex. `"i"` for case insensitivity). |
| `human-readable-content` | No | `string` | The regular expression in `content` | The string to print instead of the regular expression when generating human-readable output. |
| `fail-on-non-exist` | No | `boolean` | `false` | Set to `true` to disable passing if no files are found from `globsAll`. |
| `fail-on-non-existent` | No | `boolean` | `false` | Set to `true` to disable passing if no files are found from `globsAll`. |

### `file-not-exists`

Expand Down
2 changes: 1 addition & 1 deletion rules/file-contents-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"content": { "type": "string" },
"flags": { "type": "string" },
"human-readable-content": { "type": "string" },
"fail-on-non-exist": {
"fail-on-non-existent": {
"type": "boolean",
"default": false
}
Expand Down
2 changes: 1 addition & 1 deletion rules/file-not-contents-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"content": { "type": "string" },
"flags": { "type": "string" },
"human-readable-content": { "type": "string" },
"fail-on-non-exist": {
"fail-on-non-existent": {
"type": "boolean",
"default": false
}
Expand Down

0 comments on commit d66591c

Please sign in to comment.