Skip to content

Commit

Permalink
docs: add no-deprecated-functions rule to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed May 3, 2020
1 parent b63c43e commit dd7748a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -115,6 +115,7 @@ installations requiring long-term consistency.
| [lowercase-name][] | Disallow capitalized test names | | ![fixable-green][] |
| [no-alias-methods][] | Disallow alias methods | ![style][] | ![fixable-green][] |
| [no-commented-out-tests][] | Disallow commented out tests | ![recommended][] | |
| [no-deprecated-functions][] | Disallow use of deprecated functions | | ![fixable-green][] |
| [no-disabled-tests][] | Disallow disabled tests | ![recommended][] | |
| [no-duplicate-hooks][] | Disallow duplicate hooks within a `describe` block | | |
| [no-expect-resolves][] | Disallow using `expect().resolves` | | |
Expand Down Expand Up @@ -170,6 +171,7 @@ https://github.com/dangreenisrael/eslint-plugin-jest-formatting
[lowercase-name]: docs/rules/lowercase-name.md
[no-alias-methods]: docs/rules/no-alias-methods.md
[no-commented-out-tests]: docs/rules/no-commented-out-tests.md
[no-deprecated-functions]: docs/rules/no-deprecated-functions.md
[no-disabled-tests]: docs/rules/no-disabled-tests.md
[no-duplicate-hooks]: docs/rules/no-duplicate-hooks.md
[no-expect-resolves]: docs/rules/no-expect-resolves.md
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-deprecated-functions.md
@@ -1,4 +1,4 @@
# Warns on usage of deprecated functions (no-deprecated-functions)
# Disallow use of deprecated functions (no-deprecated-functions)

Over the years Jest has accrued some debt in the form of functions that have
either been renamed for clarity, or replaced with more powerful APIs.
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-deprecated-functions.ts
Expand Up @@ -9,7 +9,7 @@ export default createRule({
meta: {
docs: {
category: 'Best Practices',
description: 'Warns on usage of deprecated functions',
description: 'Disallow use of deprecated functions',
recommended: false,
},
messages: {
Expand Down

0 comments on commit dd7748a

Please sign in to comment.