You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With old configuration, use the `recommended` shared config in your `.eslintrc` configuration file:
21
59
22
60
```js
23
61
module.exports= {
@@ -47,8 +85,27 @@ module.exports = {
47
85
}
48
86
```
49
87
88
+
## Power of Types
89
+
50
90
This plugin uses TypeScript to provide more accurate results. To enable this, you need to [configure ESLint to work with TypeScript](https://typescript-eslint.io/getting-started/typed-linting):
|[no-long-arrays-in-test-each](docs/rules/no-long-arrays-in-test-each.md)| Disallow using long arrays with objects inside `test.each()` or `it.each()`. Force moving them out of the file. |✅ |
117
-
|[no-mixed-expectation-groups](docs/rules/no-mixed-expectation-groups.md)| Disallow mixing expectations for different variables between each other. |✅ |
118
-
|[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. |✅ |
119
-
|[no-useless-matcher-to-be-null](docs/rules/no-useless-matcher-to-be-null.md)| Disallow using `.toBeNull()` when TypeScript types conflict with it. |✅ |
| [no-long-arrays-in-test-each](docs/rules/no-long-arrays-in-test-each.md) | Disallow using long arrays with objects inside `test.each()` or `it.each()`. Force moving them out of the file. |☑️ ✅|
215
+
| [no-mixed-expectation-groups](docs/rules/no-mixed-expectation-groups.md) | Disallow mixing expectations for different variables between each other. |☑️ ✅|
216
+
| [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. |☑️ ✅|
217
+
| [no-useless-matcher-to-be-null](docs/rules/no-useless-matcher-to-be-null.md) | Disallow using `.toBeNull()` when TypeScript types conflict with it. |☑️ ✅|
Copy file name to clipboardExpand all lines: docs/rules/no-long-arrays-in-test-each.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Disallow using long arrays with objects inside `test.each()` or `it.each()`. Force moving them out of the file (`proper-tests/no-long-arrays-in-test-each`)
2
2
3
-
💼 This rule is enabled in the ✅ `recommended` config.
3
+
💼 This rule is enabled in the following configs: ☑️ `flat/recommended`, ✅ `recommended`.
0 commit comments