eslint-plugin-playwright 2.5.0 → 2.5.1

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 +4 -2
  2. package/package.json +2 -2
package/dist/index.cjs CHANGED
@@ -1062,7 +1062,7 @@ var no_conditional_expect_default = createRule({
1062
1062
  var no_conditional_in_test_default = createRule({
1063
1063
  create(context) {
1064
1064
  function checkConditional(node) {
1065
- if (node.type === "LogicalExpression" && node.operator === "??") {
1065
+ if (node.type === "LogicalExpression" && (node.operator === "??" || node.operator === "||")) {
1066
1066
  return;
1067
1067
  }
1068
1068
  const call = findParent(node, "CallExpression");
@@ -4060,8 +4060,10 @@ var valid_test_tags_default = createRule({
4060
4060
  },
4061
4061
  meta: {
4062
4062
  docs: {
4063
+ category: "Possible Errors",
4063
4064
  description: "Enforce valid tag format in Playwright test blocks and titles",
4064
- recommended: true
4065
+ recommended: true,
4066
+ url: "https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/valid-test-tags.md"
4065
4067
  },
4066
4068
  messages: {
4067
4069
  disallowedTag: 'Tag "{{tag}}" is not allowed',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-playwright",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "ESLint plugin for Playwright testing.",
5
5
  "license": "MIT",
6
6
  "author": "Mark Skelton <mark@mskelton.dev>",
@@ -49,7 +49,7 @@
49
49
  "semantic-release": "^25.0.2",
50
50
  "tsup": "^8.0.1",
51
51
  "typescript": "^5.2.2",
52
- "vitest": "^1.6.1"
52
+ "vitest": "^4.0.17"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "eslint": ">=8.40.0"