eslint-plugin-playwright 2.10.3 → 2.10.4

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.
Files changed (2) hide show
  1. package/dist/index.cjs +3 -0
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -4738,6 +4738,9 @@ var valid_title_default = createRule({
4738
4738
  return;
4739
4739
  }
4740
4740
  const [argument] = node.arguments;
4741
+ if (call.type === "describe" && isFunction(argument)) {
4742
+ return;
4743
+ }
4741
4744
  const title = dereference(context, argument) ?? argument;
4742
4745
  if (!title) {
4743
4746
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-playwright",
3
- "version": "2.10.3",
3
+ "version": "2.10.4",
4
4
  "description": "ESLint plugin for Playwright testing.",
5
5
  "license": "MIT",
6
6
  "author": "Mark Skelton <mark@mskelton.dev>",