Skip to content

Commit

Permalink
docs: fix valid-title documentation (#434)
Browse files Browse the repository at this point in the history
Adds it to README and fixes copy-paste issue with `valid-title` docs.
  • Loading branch information
eventualbuddha authored and G-Rath committed Oct 22, 2019
1 parent 1b2d24b commit 7eae625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -150,6 +150,7 @@ installations requiring long-term consistency.
| [valid-describe][] | Enforce valid `describe()` callback | ![recommended][] | |
| [valid-expect-in-promise][] | Enforce having return statement when testing with promises | ![recommended][] | |
| [valid-expect][] | Enforce valid `expect()` usage | ![recommended][] | |
| [valid-title][] | Disallow invalid `describe`/`test` titles | | |

## Credit

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/valid-title.md
@@ -1,4 +1,4 @@
# Disallow duplicate setup and teardown hooks (no-duplicate-hooks)
# describe/test titles should be valid (valid-title)

A describe/ test block should not contain accidentalSpace or duplicatePrefix.

Expand Down

0 comments on commit 7eae625

Please sign in to comment.