eslint-plugin-playwright 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +48 -45
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +984 -391
- package/dist/index.mjs +1051 -418
- package/package.json +5 -7
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -117,48 +117,51 @@ CLI option\
|
|
|
117
117
|
💡 Manually fixable by
|
|
118
118
|
[editor suggestions](https://eslint.org/docs/latest/developer-guide/working-with-rules#providing-suggestions)
|
|
119
119
|
|
|
120
|
-
| Rule | Description
|
|
121
|
-
| --------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
122
|
-
| [expect-expect](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/expect-expect.md) | Enforce assertion to be made in a test body
|
|
123
|
-
| [max-expects](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/max-expects.md) | Enforces a maximum number assertion calls in a test body
|
|
124
|
-
| [max-nested-describe](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/max-nested-describe.md) | Enforces a maximum depth to nested describe calls
|
|
125
|
-
| [missing-playwright-await](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/missing-playwright-await.md) | Enforce Playwright APIs to be awaited
|
|
126
|
-
| [no-commented-out-
|
|
127
|
-
| [no-conditional-expect](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-conditional-expect.md) | Disallow calling `expect` conditionally
|
|
128
|
-
| [no-conditional-in-test](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-conditional-in-test.md) | Disallow conditional logic in tests
|
|
129
|
-
| [no-duplicate-hooks](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-duplicate-hooks.md) | Disallow duplicate setup and teardown hooks
|
|
130
|
-
| [no-element-handle](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-element-handle.md) | Disallow usage of element handles
|
|
131
|
-
| [no-eval](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-eval.md) | Disallow usage of `page.$eval()` and `page.$$eval()`
|
|
132
|
-
| [no-focused-test](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-focused-test.md) | Disallow usage of `.only` annotation
|
|
133
|
-
| [no-force-option](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-force-option.md) | Disallow usage of the `{ force: true }` option
|
|
134
|
-
| [no-hooks](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-hooks.md) | Disallow setup and teardown hooks
|
|
135
|
-
| [no-nested-step](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-nested-step.md) | Disallow nested `test.step()` methods
|
|
136
|
-
| [no-networkidle](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-networkidle.md) | Disallow usage of the `networkidle` option
|
|
137
|
-
| [no-nth-methods](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-nth-methods.md) | Disallow usage of `first()`, `last()`, and `nth()` methods
|
|
138
|
-
| [no-page-pause](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-page-pause.md) | Disallow using `page.pause()`
|
|
139
|
-
| [no-unsafe-references](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-unsafe-references.md) | Prevent unsafe variable references in `page.evaluate()`
|
|
140
|
-
| [no-get-by-title](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-get-by-title.md) | Disallow using `getByTitle()`
|
|
141
|
-
| [no-raw-locators](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-raw-locators.md) | Disallow using raw locators
|
|
142
|
-
| [no-useless-await](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-useless-await.md) | Disallow unnecessary `await`s for Playwright methods
|
|
143
|
-
| [no-restricted-matchers](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-restricted-matchers.md) | Disallow specific matchers & modifiers
|
|
144
|
-
| [no-skipped-test](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-skipped-test.md) | Disallow usage of the `.skip` annotation
|
|
145
|
-
| [no-standalone-expect](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-standalone-expect.md) | Disallow using expect outside of `test` blocks
|
|
146
|
-
| [no-useless-not](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-useless-not.md) | Disallow usage of `not` matchers when a specific matcher exists
|
|
147
|
-
| [no-wait-for-selector](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-wait-for-selector.md) | Disallow usage of `page.waitForSelector()`
|
|
148
|
-
| [no-wait-for-timeout](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-wait-for-timeout.md) | Disallow usage of `page.waitForTimeout()`
|
|
149
|
-
| [prefer-comparison-matcher](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-comparison-matcher.md) | Suggest using the built-in comparison matchers
|
|
150
|
-
| [prefer-equality-matcher](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-equality-matcher.md) | Suggest using the built-in equality matchers
|
|
151
|
-
| [prefer-hooks-in-order](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-hooks-in-order.md) | Prefer having hooks in a consistent order
|
|
152
|
-
| [prefer-hooks-on-top](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-hooks-on-top.md) | Suggest having hooks before any test cases
|
|
153
|
-
| [prefer-strict-equal](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-strict-equal.md) | Suggest using `toStrictEqual()`
|
|
154
|
-
| [prefer-lowercase-title](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-lowercase-title.md) | Enforce lowercase test names
|
|
155
|
-
| [prefer-to-be](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-to-be.md) | Suggest using `toBe()`
|
|
156
|
-
| [prefer-to-contain](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-to-contain.md) | Suggest using `toContain()`
|
|
157
|
-
| [prefer-to-have-count](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-to-have-count.md) | Suggest using `toHaveCount()`
|
|
158
|
-
| [prefer-to-have-length](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-to-have-length.md) | Suggest using `toHaveLength()`
|
|
159
|
-
| [prefer-web-first-assertions](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-web-first-assertions.md) | Suggest using web first assertions
|
|
160
|
-
| [require-hook](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-hook.md) | Require setup and teardown code to be within a hook
|
|
161
|
-
| [require-top-level-describe](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-top-level-describe.md) | Require test cases and hooks to be inside a `test.describe` block
|
|
162
|
-
| [require-soft-assertions](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-soft-assertions.md) | Require assertions to use `expect.soft()`
|
|
163
|
-
| [valid-
|
|
164
|
-
| [valid-
|
|
120
|
+
| Rule | Description | ✅ | 🔧 | 💡 |
|
|
121
|
+
| --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | :-: | :-: | :-: |
|
|
122
|
+
| [expect-expect](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/expect-expect.md) | Enforce assertion to be made in a test body | ✅ | | |
|
|
123
|
+
| [max-expects](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/max-expects.md) | Enforces a maximum number assertion calls in a test body | ✅ | | |
|
|
124
|
+
| [max-nested-describe](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/max-nested-describe.md) | Enforces a maximum depth to nested describe calls | ✅ | | |
|
|
125
|
+
| [missing-playwright-await](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/missing-playwright-await.md) | Enforce Playwright APIs to be awaited | ✅ | 🔧 | |
|
|
126
|
+
| [no-commented-out-tests](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-commented-out-tests.md) | Disallow commented out tests | | | |
|
|
127
|
+
| [no-conditional-expect](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-conditional-expect.md) | Disallow calling `expect` conditionally | ✅ | | |
|
|
128
|
+
| [no-conditional-in-test](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-conditional-in-test.md) | Disallow conditional logic in tests | ✅ | | |
|
|
129
|
+
| [no-duplicate-hooks](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-duplicate-hooks.md) | Disallow duplicate setup and teardown hooks | | | |
|
|
130
|
+
| [no-element-handle](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-element-handle.md) | Disallow usage of element handles | ✅ | | 💡 |
|
|
131
|
+
| [no-eval](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-eval.md) | Disallow usage of `page.$eval()` and `page.$$eval()` | ✅ | | |
|
|
132
|
+
| [no-focused-test](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-focused-test.md) | Disallow usage of `.only` annotation | ✅ | | 💡 |
|
|
133
|
+
| [no-force-option](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-force-option.md) | Disallow usage of the `{ force: true }` option | ✅ | | |
|
|
134
|
+
| [no-hooks](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-hooks.md) | Disallow setup and teardown hooks | | | |
|
|
135
|
+
| [no-nested-step](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-nested-step.md) | Disallow nested `test.step()` methods | ✅ | | |
|
|
136
|
+
| [no-networkidle](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-networkidle.md) | Disallow usage of the `networkidle` option | ✅ | | |
|
|
137
|
+
| [no-nth-methods](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-nth-methods.md) | Disallow usage of `first()`, `last()`, and `nth()` methods | | | |
|
|
138
|
+
| [no-page-pause](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-page-pause.md) | Disallow using `page.pause()` | ✅ | | |
|
|
139
|
+
| [no-unsafe-references](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-unsafe-references.md) | Prevent unsafe variable references in `page.evaluate()` | ✅ | 🔧 | |
|
|
140
|
+
| [no-get-by-title](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-get-by-title.md) | Disallow using `getByTitle()` | | 🔧 | |
|
|
141
|
+
| [no-raw-locators](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-raw-locators.md) | Disallow using raw locators | | | |
|
|
142
|
+
| [no-useless-await](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-useless-await.md) | Disallow unnecessary `await`s for Playwright methods | ✅ | 🔧 | |
|
|
143
|
+
| [no-restricted-matchers](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-restricted-matchers.md) | Disallow specific matchers & modifiers | | | |
|
|
144
|
+
| [no-skipped-test](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-skipped-test.md) | Disallow usage of the `.skip` annotation | ✅ | | 💡 |
|
|
145
|
+
| [no-standalone-expect](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-standalone-expect.md) | Disallow using expect outside of `test` blocks | ✅ | | |
|
|
146
|
+
| [no-useless-not](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-useless-not.md) | Disallow usage of `not` matchers when a specific matcher exists | ✅ | 🔧 | |
|
|
147
|
+
| [no-wait-for-selector](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-wait-for-selector.md) | Disallow usage of `page.waitForSelector()` | ✅ | | 💡 |
|
|
148
|
+
| [no-wait-for-timeout](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-wait-for-timeout.md) | Disallow usage of `page.waitForTimeout()` | ✅ | | 💡 |
|
|
149
|
+
| [prefer-comparison-matcher](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-comparison-matcher.md) | Suggest using the built-in comparison matchers | | 🔧 | |
|
|
150
|
+
| [prefer-equality-matcher](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-equality-matcher.md) | Suggest using the built-in equality matchers | | | 💡 |
|
|
151
|
+
| [prefer-hooks-in-order](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-hooks-in-order.md) | Prefer having hooks in a consistent order | | | |
|
|
152
|
+
| [prefer-hooks-on-top](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-hooks-on-top.md) | Suggest having hooks before any test cases | | | |
|
|
153
|
+
| [prefer-strict-equal](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-strict-equal.md) | Suggest using `toStrictEqual()` | | | 💡 |
|
|
154
|
+
| [prefer-lowercase-title](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-lowercase-title.md) | Enforce lowercase test names | | 🔧 | |
|
|
155
|
+
| [prefer-to-be](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-to-be.md) | Suggest using `toBe()` | | 🔧 | |
|
|
156
|
+
| [prefer-to-contain](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-to-contain.md) | Suggest using `toContain()` | | 🔧 | |
|
|
157
|
+
| [prefer-to-have-count](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-to-have-count.md) | Suggest using `toHaveCount()` | | 🔧 | |
|
|
158
|
+
| [prefer-to-have-length](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-to-have-length.md) | Suggest using `toHaveLength()` | | 🔧 | |
|
|
159
|
+
| [prefer-web-first-assertions](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-web-first-assertions.md) | Suggest using web first assertions | ✅ | 🔧 | |
|
|
160
|
+
| [require-hook](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-hook.md) | Require setup and teardown code to be within a hook | | | |
|
|
161
|
+
| [require-top-level-describe](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-top-level-describe.md) | Require test cases and hooks to be inside a `test.describe` block | | | |
|
|
162
|
+
| [require-soft-assertions](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-soft-assertions.md) | Require assertions to use `expect.soft()` | | 🔧 | |
|
|
163
|
+
| [valid-describe-callback](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/valid-describe-callback.md) | Enforce valid `describe()` callback | ✅ | | |
|
|
164
|
+
| [valid-expect](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/valid-expect.md) | Enforce valid `expect()` usage | ✅ | | |
|
|
165
|
+
| [valid-expect-in-promise](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/valid-expect-in-promise.md) | Require promises that have expectations in their chain to be valid | ✅ | | |
|
|
166
|
+
| [valid-title](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/valid-title.md) | Enforce valid titles | ✅ | 🔧 | |
|
|
167
|
+
| [require-to-throw-message](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-to-throw-message.md) | Require a message for `toThrow()` | | | |
|
package/dist/index.d.mts
CHANGED
|
@@ -50,8 +50,11 @@ declare const _default: {
|
|
|
50
50
|
'prefer-web-first-assertions': eslint.Rule.RuleModule;
|
|
51
51
|
'require-hook': eslint.Rule.RuleModule;
|
|
52
52
|
'require-soft-assertions': eslint.Rule.RuleModule;
|
|
53
|
+
'require-to-throw-message': eslint.Rule.RuleModule;
|
|
53
54
|
'require-top-level-describe': eslint.Rule.RuleModule;
|
|
55
|
+
'valid-describe-callback': eslint.Rule.RuleModule;
|
|
54
56
|
'valid-expect': eslint.Rule.RuleModule;
|
|
57
|
+
'valid-expect-in-promise': eslint.Rule.RuleModule;
|
|
55
58
|
'valid-title': eslint.Rule.RuleModule;
|
|
56
59
|
};
|
|
57
60
|
};
|
|
@@ -112,8 +115,11 @@ declare const _default: {
|
|
|
112
115
|
'prefer-web-first-assertions': eslint.Rule.RuleModule;
|
|
113
116
|
'require-hook': eslint.Rule.RuleModule;
|
|
114
117
|
'require-soft-assertions': eslint.Rule.RuleModule;
|
|
118
|
+
'require-to-throw-message': eslint.Rule.RuleModule;
|
|
115
119
|
'require-top-level-describe': eslint.Rule.RuleModule;
|
|
120
|
+
'valid-describe-callback': eslint.Rule.RuleModule;
|
|
116
121
|
'valid-expect': eslint.Rule.RuleModule;
|
|
122
|
+
'valid-expect-in-promise': eslint.Rule.RuleModule;
|
|
117
123
|
'valid-title': eslint.Rule.RuleModule;
|
|
118
124
|
};
|
|
119
125
|
};
|
|
@@ -140,7 +146,9 @@ declare const _default: {
|
|
|
140
146
|
'playwright/no-wait-for-selector': string;
|
|
141
147
|
'playwright/no-wait-for-timeout': string;
|
|
142
148
|
'playwright/prefer-web-first-assertions': string;
|
|
149
|
+
'playwright/valid-describe-callback': string;
|
|
143
150
|
'playwright/valid-expect': string;
|
|
151
|
+
'playwright/valid-expect-in-promise': string;
|
|
144
152
|
'playwright/valid-title': string;
|
|
145
153
|
};
|
|
146
154
|
};
|
|
@@ -193,7 +201,9 @@ declare const _default: {
|
|
|
193
201
|
'playwright/no-wait-for-selector': string;
|
|
194
202
|
'playwright/no-wait-for-timeout': string;
|
|
195
203
|
'playwright/prefer-web-first-assertions': string;
|
|
204
|
+
'playwright/valid-describe-callback': string;
|
|
196
205
|
'playwright/valid-expect': string;
|
|
206
|
+
'playwright/valid-expect-in-promise': string;
|
|
197
207
|
'playwright/valid-title': string;
|
|
198
208
|
};
|
|
199
209
|
};
|
|
@@ -224,7 +234,9 @@ declare const _default: {
|
|
|
224
234
|
'playwright/no-wait-for-selector': string;
|
|
225
235
|
'playwright/no-wait-for-timeout': string;
|
|
226
236
|
'playwright/prefer-web-first-assertions': string;
|
|
237
|
+
'playwright/valid-describe-callback': string;
|
|
227
238
|
'playwright/valid-expect': string;
|
|
239
|
+
'playwright/valid-expect-in-promise': string;
|
|
228
240
|
'playwright/valid-title': string;
|
|
229
241
|
};
|
|
230
242
|
};
|
|
@@ -270,8 +282,11 @@ declare const _default: {
|
|
|
270
282
|
'prefer-web-first-assertions': eslint.Rule.RuleModule;
|
|
271
283
|
'require-hook': eslint.Rule.RuleModule;
|
|
272
284
|
'require-soft-assertions': eslint.Rule.RuleModule;
|
|
285
|
+
'require-to-throw-message': eslint.Rule.RuleModule;
|
|
273
286
|
'require-top-level-describe': eslint.Rule.RuleModule;
|
|
287
|
+
'valid-describe-callback': eslint.Rule.RuleModule;
|
|
274
288
|
'valid-expect': eslint.Rule.RuleModule;
|
|
289
|
+
'valid-expect-in-promise': eslint.Rule.RuleModule;
|
|
275
290
|
'valid-title': eslint.Rule.RuleModule;
|
|
276
291
|
};
|
|
277
292
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -50,8 +50,11 @@ declare const _default: {
|
|
|
50
50
|
'prefer-web-first-assertions': eslint.Rule.RuleModule;
|
|
51
51
|
'require-hook': eslint.Rule.RuleModule;
|
|
52
52
|
'require-soft-assertions': eslint.Rule.RuleModule;
|
|
53
|
+
'require-to-throw-message': eslint.Rule.RuleModule;
|
|
53
54
|
'require-top-level-describe': eslint.Rule.RuleModule;
|
|
55
|
+
'valid-describe-callback': eslint.Rule.RuleModule;
|
|
54
56
|
'valid-expect': eslint.Rule.RuleModule;
|
|
57
|
+
'valid-expect-in-promise': eslint.Rule.RuleModule;
|
|
55
58
|
'valid-title': eslint.Rule.RuleModule;
|
|
56
59
|
};
|
|
57
60
|
};
|
|
@@ -112,8 +115,11 @@ declare const _default: {
|
|
|
112
115
|
'prefer-web-first-assertions': eslint.Rule.RuleModule;
|
|
113
116
|
'require-hook': eslint.Rule.RuleModule;
|
|
114
117
|
'require-soft-assertions': eslint.Rule.RuleModule;
|
|
118
|
+
'require-to-throw-message': eslint.Rule.RuleModule;
|
|
115
119
|
'require-top-level-describe': eslint.Rule.RuleModule;
|
|
120
|
+
'valid-describe-callback': eslint.Rule.RuleModule;
|
|
116
121
|
'valid-expect': eslint.Rule.RuleModule;
|
|
122
|
+
'valid-expect-in-promise': eslint.Rule.RuleModule;
|
|
117
123
|
'valid-title': eslint.Rule.RuleModule;
|
|
118
124
|
};
|
|
119
125
|
};
|
|
@@ -140,7 +146,9 @@ declare const _default: {
|
|
|
140
146
|
'playwright/no-wait-for-selector': string;
|
|
141
147
|
'playwright/no-wait-for-timeout': string;
|
|
142
148
|
'playwright/prefer-web-first-assertions': string;
|
|
149
|
+
'playwright/valid-describe-callback': string;
|
|
143
150
|
'playwright/valid-expect': string;
|
|
151
|
+
'playwright/valid-expect-in-promise': string;
|
|
144
152
|
'playwright/valid-title': string;
|
|
145
153
|
};
|
|
146
154
|
};
|
|
@@ -193,7 +201,9 @@ declare const _default: {
|
|
|
193
201
|
'playwright/no-wait-for-selector': string;
|
|
194
202
|
'playwright/no-wait-for-timeout': string;
|
|
195
203
|
'playwright/prefer-web-first-assertions': string;
|
|
204
|
+
'playwright/valid-describe-callback': string;
|
|
196
205
|
'playwright/valid-expect': string;
|
|
206
|
+
'playwright/valid-expect-in-promise': string;
|
|
197
207
|
'playwright/valid-title': string;
|
|
198
208
|
};
|
|
199
209
|
};
|
|
@@ -224,7 +234,9 @@ declare const _default: {
|
|
|
224
234
|
'playwright/no-wait-for-selector': string;
|
|
225
235
|
'playwright/no-wait-for-timeout': string;
|
|
226
236
|
'playwright/prefer-web-first-assertions': string;
|
|
237
|
+
'playwright/valid-describe-callback': string;
|
|
227
238
|
'playwright/valid-expect': string;
|
|
239
|
+
'playwright/valid-expect-in-promise': string;
|
|
228
240
|
'playwright/valid-title': string;
|
|
229
241
|
};
|
|
230
242
|
};
|
|
@@ -270,8 +282,11 @@ declare const _default: {
|
|
|
270
282
|
'prefer-web-first-assertions': eslint.Rule.RuleModule;
|
|
271
283
|
'require-hook': eslint.Rule.RuleModule;
|
|
272
284
|
'require-soft-assertions': eslint.Rule.RuleModule;
|
|
285
|
+
'require-to-throw-message': eslint.Rule.RuleModule;
|
|
273
286
|
'require-top-level-describe': eslint.Rule.RuleModule;
|
|
287
|
+
'valid-describe-callback': eslint.Rule.RuleModule;
|
|
274
288
|
'valid-expect': eslint.Rule.RuleModule;
|
|
289
|
+
'valid-expect-in-promise': eslint.Rule.RuleModule;
|
|
275
290
|
'valid-title': eslint.Rule.RuleModule;
|
|
276
291
|
};
|
|
277
292
|
};
|