Skip to content

Commit 8979e67

Browse files
committed
Add no-mixed-expectatino-groups to recommended shared config
1 parent 7648caa commit 8979e67

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ To enable this configuration with `.eslintrc`, use the `extends` property:
9393

9494
| Name                             | Description | 💼 |
9595
| :--------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------- | :- |
96-
| [no-mixed-expectation-groups](docs/rules/no-mixed-expectation-groups.md) | Disallow mixing expectations for different variables between each other. | |
96+
| [no-mixed-expectation-groups](docs/rules/no-mixed-expectation-groups.md) | Disallow mixing expectations for different variables between each other. | |
9797
| [no-useless-matcher-to-be-defined](docs/rules/no-useless-matcher-to-be-defined.md) | Disallow using `.toBeDefined()` matcher when it is known that variable is always defined. ||
9898
| [no-useless-matcher-to-be-null](docs/rules/no-useless-matcher-to-be-null.md) | Disallow using `.toBeNull()` when TypeScript types conflict with it. ||
9999

docs/rules/no-mixed-expectation-groups.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Disallow mixing expectations for different variables between each other (`proper-tests/no-mixed-expectation-groups`)
22

3+
💼 This rule is enabled in the ✅ `recommended` config.
4+
35
<!-- end auto-generated rule header -->
46

57
## Rule details

src/configs/recommended.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ export = {
44
rules: {
55
'proper-tests/no-useless-matcher-to-be-defined': 'error',
66
'proper-tests/no-useless-matcher-to-be-null': 'error',
7+
'proper-tests/no-mixed-expectation-groups': 'error',
78
},
89
} satisfies ClassicConfig.Config;

0 commit comments

Comments
 (0)