File tree 4 files changed +2
-7
lines changed
4 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ Manually fixable by
329
329
| [ expect-expect] ( docs/rules/expect-expect.md ) | Enforce assertion to be made in a test body | | ✅ | | |
330
330
| [ max-expects] ( docs/rules/max-expects.md ) | Enforces a maximum number assertion calls in a test body | | | | |
331
331
| [ max-nested-describe] ( docs/rules/max-nested-describe.md ) | Enforces a maximum depth to nested describe calls | | | | |
332
- | [ no-alias-methods] ( docs/rules/no-alias-methods.md ) | Disallow alias methods | ✅ | 🎨 | 🔧 | |
332
+ | [ no-alias-methods] ( docs/rules/no-alias-methods.md ) | Disallow alias methods | ✅ | | 🔧 | |
333
333
| [ no-commented-out-tests] ( docs/rules/no-commented-out-tests.md ) | Disallow commented out tests | | ✅ | | |
334
334
| [ no-conditional-expect] ( docs/rules/no-conditional-expect.md ) | Disallow calling ` expect ` conditionally | ✅ | | | |
335
335
| [ no-conditional-in-test] ( docs/rules/no-conditional-in-test.md ) | Disallow conditional logic in tests | | | | |
Original file line number Diff line number Diff line change 1
1
# Disallow alias methods (` no-alias-methods ` )
2
2
3
- 💼⚠️ This rule is enabled in the ✅ ` recommended `
4
- [ config] ( https://github.com/jest-community/eslint-plugin-jest/blob/main/README.md#shareable-configurations ) .
5
- This rule _ warns_ in the 🎨 ` style `
3
+ 💼 This rule is enabled in the ✅ ` recommended `
6
4
[ config] ( https://github.com/jest-community/eslint-plugin-jest/blob/main/README.md#shareable-configurations ) .
7
5
8
6
🔧 This rule is automatically fixable by the
Original file line number Diff line number Diff line change @@ -240,7 +240,6 @@ exports[`rules should export configs that refer to actual rules 1`] = `
240
240
},
241
241
},
242
242
"rules": {
243
- " jest/no-alias-methods" : " warn" ,
244
243
" jest/prefer-to-be" : " error" ,
245
244
" jest/prefer-to-contain" : " error" ,
246
245
" jest/prefer-to-have-length" : " error" ,
@@ -283,7 +282,6 @@ exports[`rules should export configs that refer to actual rules 1`] = `
283
282
" jest" ,
284
283
],
285
284
" rules" : {
286
- " jest/no-alias-methods" : " warn" ,
287
285
" jest/prefer-to-be" : " error" ,
288
286
" jest/prefer-to-contain" : " error" ,
289
287
" jest/prefer-to-have-length" : " error" ,
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ const recommendedRules = {
53
53
} satisfies Record < string , TSESLint . Linter . RuleLevel > ;
54
54
55
55
const styleRules = {
56
- 'jest/no-alias-methods' : 'warn' ,
57
56
'jest/prefer-to-be' : 'error' ,
58
57
'jest/prefer-to-contain' : 'error' ,
59
58
'jest/prefer-to-have-length' : 'error' ,
You can’t perform that action at this time.
0 commit comments