Commit 5b2af00 1 parent 41f7873 commit 5b2af00 Copy full SHA for 5b2af00
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 @@ -136,7 +136,7 @@ installations requiring long-term consistency.
136
136
| [ no-alias-methods] ( docs/rules/no-alias-methods.md ) | Disallow alias methods | ![ style] [ ] | ![ fixable] [ ] |
137
137
| [ no-commented-out-tests] ( docs/rules/no-commented-out-tests.md ) | Disallow commented out tests | ![ recommended] [ ] | |
138
138
| [ no-conditional-expect] ( docs/rules/no-conditional-expect.md ) | Prevent calling ` expect ` conditionally | | |
139
- | [ no-deprecated-functions] ( docs/rules/no-deprecated-functions.md ) | Disallow use of deprecated functions | | ![ fixable] [ ] |
139
+ | [ no-deprecated-functions] ( docs/rules/no-deprecated-functions.md ) | Disallow use of deprecated functions | ![ recommended ] [ ] | ![ fixable] [ ] |
140
140
| [ no-disabled-tests] ( docs/rules/no-disabled-tests.md ) | Disallow disabled tests | ![ recommended] [ ] | |
141
141
| [ no-duplicate-hooks] ( docs/rules/no-duplicate-hooks.md ) | Disallow duplicate setup and teardown hooks | | |
142
142
| [ no-export] ( docs/rules/no-export.md ) | Disallow using ` exports ` in files containing tests | ![ recommended] [ ] | |
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ Object {
66
66
" rules" : Object {
67
67
" jest/expect-expect" : " warn" ,
68
68
" jest/no-commented-out-tests" : " warn" ,
69
+ " jest/no-deprecated-functions" : " error" ,
69
70
" jest/no-disabled-tests" : " warn" ,
70
71
" jest/no-export" : " error" ,
71
72
" jest/no-focused-tests" : " error" ,
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default createRule({
66
66
docs : {
67
67
category : 'Best Practices' ,
68
68
description : 'Disallow use of deprecated functions' ,
69
- recommended : false ,
69
+ recommended : 'error' ,
70
70
} ,
71
71
messages : {
72
72
deprecatedFunction :
You can’t perform that action at this time.
0 commit comments