Commit 3705dff 1 parent 5b2af00 commit 3705dff Copy full SHA for 3705dff
File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ installations requiring long-term consistency.
144
144
| [ no-hooks] ( docs/rules/no-hooks.md ) | Disallow setup and teardown hooks | | |
145
145
| [ no-identical-title] ( docs/rules/no-identical-title.md ) | Disallow identical titles | ![ recommended] [ ] | |
146
146
| [ no-if] ( docs/rules/no-if.md ) | Disallow conditional logic | | |
147
- | [ no-interpolation-in-snapshots] ( docs/rules/no-interpolation-in-snapshots.md ) | Disallow string interpolation inside snapshots | | |
147
+ | [ no-interpolation-in-snapshots] ( docs/rules/no-interpolation-in-snapshots.md ) | Disallow string interpolation inside snapshots | ![ recommended ] [ ] | |
148
148
| [ no-jasmine-globals] ( docs/rules/no-jasmine-globals.md ) | Disallow Jasmine globals | ![ recommended] [ ] | ![ fixable] [ ] |
149
149
| [ no-jest-import] ( docs/rules/no-jest-import.md ) | Disallow importing Jest | ![ recommended] [ ] | |
150
150
| [ no-large-snapshots] ( docs/rules/no-large-snapshots.md ) | disallow large snapshots | | |
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ Object {
71
71
" jest/no-export" : " error" ,
72
72
" jest/no-focused-tests" : " error" ,
73
73
" jest/no-identical-title" : " error" ,
74
+ " jest/no-interpolation-in-snapshots" : " error" ,
74
75
" jest/no-jasmine-globals" : " error" ,
75
76
" jest/no-jest-import" : " error" ,
76
77
" jest/no-mocks-import" : " error" ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export default createRule({
7
7
docs : {
8
8
category : 'Best Practices' ,
9
9
description : 'Disallow string interpolation inside snapshots' ,
10
- recommended : false ,
10
+ recommended : 'error' ,
11
11
} ,
12
12
messages : {
13
13
noInterpolation : 'Do not use string interpolation inside of snapshots' ,
You can’t perform that action at this time.
0 commit comments