eslint-plugin-playwright 1.4.1 → 1.4.2

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/dist/index.js CHANGED
@@ -2930,6 +2930,9 @@ var valid_describe_callback_default = {
2930
2930
  const call = parseFnCall(context, node);
2931
2931
  if (call?.group !== "describe")
2932
2932
  return;
2933
+ if (call.members.some((s) => getStringValue(s) === "configure")) {
2934
+ return;
2935
+ }
2933
2936
  if (node.arguments.length < 1) {
2934
2937
  return context.report({
2935
2938
  loc: node.loc,
package/dist/index.mjs CHANGED
@@ -3265,6 +3265,9 @@ var init_valid_describe_callback = __esm({
3265
3265
  const call = parseFnCall(context, node);
3266
3266
  if (call?.group !== "describe")
3267
3267
  return;
3268
+ if (call.members.some((s) => getStringValue(s) === "configure")) {
3269
+ return;
3270
+ }
3268
3271
  if (node.arguments.length < 1) {
3269
3272
  return context.report({
3270
3273
  loc: node.loc,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-plugin-playwright",
3
3
  "description": "ESLint plugin for Playwright testing.",
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "repository": "https://github.com/playwright-community/eslint-plugin-playwright",
6
6
  "author": "Mark Skelton <mark@mskelton.dev>",
7
7
  "packageManager": "pnpm@8.12.0",