File tree Expand file tree Collapse file tree 4 files changed +2
-7
lines changed Expand file tree Collapse file tree 4 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ Manually fixable by
329329| [ expect-expect] ( docs/rules/expect-expect.md ) | Enforce assertion to be made in a test body | | ✅ | | |
330330| [ max-expects] ( docs/rules/max-expects.md ) | Enforces a maximum number assertion calls in a test body | | | | |
331331| [ 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 | ✅ | | 🔧 | |
333333| [ no-commented-out-tests] ( docs/rules/no-commented-out-tests.md ) | Disallow commented out tests | | ✅ | | |
334334| [ no-conditional-expect] ( docs/rules/no-conditional-expect.md ) | Disallow calling ` expect ` conditionally | ✅ | | | |
335335| [ 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 11# Disallow alias methods (` no-alias-methods ` )
22
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 `
64[ config] ( https://github.com/jest-community/eslint-plugin-jest/blob/main/README.md#shareable-configurations ) .
75
86🔧 This rule is automatically fixable by the
Original file line number Diff line number Diff line change @@ -242,7 +242,6 @@ exports[`rules should export configs that refer to actual rules 1`] = `
242242 },
243243 },
244244 "rules": {
245- " jest/no-alias-methods" : " warn" ,
246245 " jest/prefer-to-be" : " error" ,
247246 " jest/prefer-to-contain" : " error" ,
248247 " jest/prefer-to-have-length" : " error" ,
@@ -285,7 +284,6 @@ exports[`rules should export configs that refer to actual rules 1`] = `
285284 " jest" ,
286285 ],
287286 " rules" : {
288- " jest/no-alias-methods" : " warn" ,
289287 " jest/prefer-to-be" : " error" ,
290288 " jest/prefer-to-contain" : " error" ,
291289 " jest/prefer-to-have-length" : " error" ,
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ const recommendedRules = {
5353} satisfies Record < string , TSESLint . Linter . RuleLevel > ;
5454
5555const styleRules = {
56- 'jest/no-alias-methods' : 'warn' ,
5756 'jest/prefer-to-be' : 'error' ,
5857 'jest/prefer-to-contain' : 'error' ,
5958 'jest/prefer-to-have-length' : 'error' ,
You can’t perform that action at this time.
0 commit comments