Skip to content

Commit

Permalink
fix: edit rule description
Browse files Browse the repository at this point in the history
  • Loading branch information
viestat committed Jul 27, 2020
1 parent 032c8bc commit 6029742
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -144,7 +144,7 @@ installations requiring long-term consistency.
| [no-hooks](docs/rules/no-hooks.md) | Disallow setup and teardown hooks | | |
| [no-identical-title](docs/rules/no-identical-title.md) | Disallow identical titles | ![recommended][] | |
| [no-if](docs/rules/no-if.md) | Disallow conditional logic | | |
| [no-interpolation-in-snapshots](docs/rules/no-interpolation-in-snapshots.md) | Disallow string interpolation inside inline snapshots | | |
| [no-interpolation-in-snapshots](docs/rules/no-interpolation-in-snapshots.md) | Disallow string interpolation inside snapshots | | |
| [no-jasmine-globals](docs/rules/no-jasmine-globals.md) | Disallow Jasmine globals | ![recommended][] | ![fixable][] |
| [no-jest-import](docs/rules/no-jest-import.md) | Disallow importing Jest | ![recommended][] | |
| [no-large-snapshots](docs/rules/no-large-snapshots.md) | disallow large snapshots | | |
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-interpolation-in-snapshots.md
@@ -1,4 +1,4 @@
# Disallow string interpolation inside inline snapshots (`no-interpolation-in-snapshots`)
# Disallow string interpolation inside snapshots (`no-interpolation-in-snapshots`)

Prevents the use of string interpolations in snapshots.

Expand Down
5 changes: 2 additions & 3 deletions src/rules/no-interpolation-in-snapshots.ts
Expand Up @@ -6,12 +6,11 @@ export default createRule({
meta: {
docs: {
category: 'Best Practices',
description: 'Disallow string interpolation inside inline snapshots',
description: 'Disallow string interpolation inside snapshots',
recommended: false,
},
messages: {
noInterpolation:
'Do not use string interpolation inside of inline snapshots',
noInterpolation: 'Do not use string interpolation inside of snapshots',
},
schema: [],
type: 'problem',
Expand Down

0 comments on commit 6029742

Please sign in to comment.