eslint-plugin-playwright 2.4.1 → 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 (4) hide show
  1. package/README.md +57 -54
  2. package/dist/index.cjs +621 -540
  3. package/index.d.ts +1 -1
  4. package/package.json +25 -26
package/index.d.ts CHANGED
@@ -4,7 +4,7 @@ declare const config: {
4
4
  configs: {
5
5
  'flat/recommended': Linter.Config
6
6
  'playwright-test': Linter.Config
7
- recommended: Linter.Config
7
+ 'recommended': Linter.Config
8
8
  }
9
9
  rules: Record<string, Rule.RuleModule>
10
10
  }
package/package.json CHANGED
@@ -1,20 +1,22 @@
1
1
  {
2
2
  "name": "eslint-plugin-playwright",
3
+ "version": "2.5.1",
3
4
  "description": "ESLint plugin for Playwright testing.",
4
- "version": "2.4.1",
5
- "repository": {
6
- "type": "git",
7
- "url": "git+https://github.com/mskelton/eslint-plugin-playwright.git"
8
- },
5
+ "license": "MIT",
9
6
  "author": "Mark Skelton <mark@mskelton.dev>",
10
- "packageManager": "pnpm@8.12.0",
11
7
  "contributors": [
12
8
  "Max Schmitt <max@schmitt.mx>"
13
9
  ],
14
- "license": "MIT",
15
- "engines": {
16
- "node": ">=16.9.0"
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/mskelton/eslint-plugin-playwright.git"
17
13
  },
14
+ "files": [
15
+ "dist",
16
+ "index.cjs",
17
+ "index.d.ts",
18
+ "index.js"
19
+ ],
18
20
  "type": "module",
19
21
  "types": "./index.d.ts",
20
22
  "exports": {
@@ -24,24 +26,15 @@
24
26
  "require": "./index.cjs"
25
27
  }
26
28
  },
27
- "files": [
28
- "dist",
29
- "index.js",
30
- "index.cjs",
31
- "index.d.ts"
32
- ],
33
29
  "scripts": {
34
30
  "build": "tsup src/index.ts --format cjs --out-dir dist",
35
31
  "lint": "eslint .",
36
- "format": "prettier --write .",
37
- "format:check": "prettier --check .",
38
- "test": "vitest --run --hideSkippedTests",
39
- "test:watch": "vitest --reporter=dot --run",
32
+ "format": "oxfmt .",
33
+ "format:check": "oxfmt --check .",
34
+ "test": "vitest --hideSkippedTests",
35
+ "test:watch": "vitest --reporter=dot",
40
36
  "ts": "tsc --noEmit"
41
37
  },
42
- "peerDependencies": {
43
- "eslint": ">=8.40.0"
44
- },
45
38
  "dependencies": {
46
39
  "globals": "^16.4.0"
47
40
  },
@@ -52,11 +45,17 @@
52
45
  "@typescript-eslint/parser": "^8.11.0",
53
46
  "dedent": "^1.5.1",
54
47
  "eslint": "^9.13.0",
55
- "prettier": "^3.0.3",
56
- "prettier-plugin-jsdoc": "^1.3.0",
48
+ "oxfmt": "^0.23.0",
57
49
  "semantic-release": "^25.0.2",
58
50
  "tsup": "^8.0.1",
59
51
  "typescript": "^5.2.2",
60
- "vitest": "^1.6.1"
61
- }
52
+ "vitest": "^4.0.17"
53
+ },
54
+ "peerDependencies": {
55
+ "eslint": ">=8.40.0"
56
+ },
57
+ "engines": {
58
+ "node": ">=16.9.0"
59
+ },
60
+ "packageManager": "yarn@4.12.0"
62
61
  }