@peerigon/configs 8.1.0 → 9.1.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/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ # [9.1.0](https://github.com/peerigon/configs/compare/v9.0.0...v9.1.0) (2025-10-16)
2
+
3
+ ### Features
4
+
5
+ - Introduce Playwright specific rules ([aae64ed](https://github.com/peerigon/configs/commit/aae64ed01e83e2424ae417942cdcce32a297165f))
6
+ - Introduce Playwright specific rules ([#174](https://github.com/peerigon/configs/issues/174)) ([b92db4f](https://github.com/peerigon/configs/commit/b92db4f9fbbbcdf8f9841a29f641e945e37a30bb)), closes [#173](https://github.com/peerigon/configs/issues/173)
7
+
8
+ # [9.0.0](https://github.com/peerigon/configs/compare/v8.1.0...v9.0.0) (2025-10-15)
9
+
10
+ ### Bug Fixes
11
+
12
+ - remove fixed [@ts-expect-error](https://github.com/ts-expect-error) directives ([213325d](https://github.com/peerigon/configs/commit/213325d3102e9d72ffee6118822b52c7d22128e0))
13
+
14
+ ### Features
15
+
16
+ - **react:** bump @eslint-react/eslint-plugin from 1.52.6 to 2.0.4 ([#171](https://github.com/peerigon/configs/issues/171)) ([ec855ad](https://github.com/peerigon/configs/commit/ec855ad8d553a0b5870e34e883cd3a32bfc52b45))
17
+
18
+ ### BREAKING CHANGES
19
+
20
+ - **react:** Potentially breaking change for React users, see https://github.com/Rel1cx/eslint-react/blob/main/CHANGELOG.md#v200-2025-09-26
21
+
22
+ Bumps
23
+ [@eslint-react/eslint-plugin](https://github.com/Rel1cx/eslint-react/tree/HEAD/packages/plugins/eslint-plugin)
24
+ from 1.52.6 to 2.0.4.
25
+
1
26
  # [8.1.0](https://github.com/peerigon/configs/compare/v8.0.0...v8.1.0) (2025-10-15)
2
27
 
3
28
  ### Features
@@ -0,0 +1,3 @@
1
+ /** @type {import("eslint").Linter.Config[]} */
2
+ export const playwright: import("eslint").Linter.Config[];
3
+ export default playwright;
@@ -0,0 +1,11 @@
1
+ import pluginPlaywright from "eslint-plugin-playwright";
2
+ import { globPatterns } from "../lib/glob-patterns.js";
3
+ const files = globPatterns.tests;
4
+ /** @type {import("eslint").Linter.Config[]} */
5
+ export const playwright = [
6
+ {
7
+ ...pluginPlaywright.configs["flat/recommended"],
8
+ files,
9
+ },
10
+ ];
11
+ export default playwright;
@@ -25,12 +25,10 @@ export const react = [
25
25
  ...reactPlugin.configs.flat["jsx-runtime"],
26
26
  files,
27
27
  },
28
- // @ts-expect-error Seems like reactPlugin2's types are broken
29
28
  {
30
29
  ...reactPlugin2.configs.recommended,
31
30
  files,
32
31
  },
33
- // @ts-expect-error Seems like reactPlugin2's types are broken
34
32
  {
35
33
  ...reactPlugin2.configs["recommended-type-checked"],
36
34
  files,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerigon/configs",
3
- "version": "8.1.0",
3
+ "version": "9.1.0",
4
4
  "description": "Configs for ESLint, Prettier, TypeScript & friends",
5
5
  "keywords": [
6
6
  "eslint",
@@ -27,6 +27,7 @@
27
27
  "./eslint/presets/typescript-node": "./dist/eslint/presets/typescript-node.js",
28
28
  "./eslint/presets/typescript-react": "./dist/eslint/presets/typescript-react.js",
29
29
  "./eslint/presets/typescript": "./dist/eslint/presets/typescript.js",
30
+ "./eslint/rules/playwright": "./dist/eslint/rules/playwright.js",
30
31
  "./eslint/rules/tanstack-query": "./dist/eslint/rules/tanstack-query.js",
31
32
  "./eslint/rules/vitest": "./dist/eslint/rules/vitest.js",
32
33
  "./eslint/styles/jsx-no-literals": "./dist/eslint/styles/jsx-no-literals.js",
@@ -69,7 +70,7 @@
69
70
  "release": "semantic-release"
70
71
  },
71
72
  "dependencies": {
72
- "@eslint-react/eslint-plugin": "^1.52.6",
73
+ "@eslint-react/eslint-plugin": "^2.0.5",
73
74
  "@eslint/compat": "^1.4.0",
74
75
  "@eslint/js": "^9.32.0",
75
76
  "@ianvs/prettier-plugin-sort-imports": "^4.7.0",
@@ -85,6 +86,7 @@
85
86
  "eslint-config-prettier": "^10.1.8",
86
87
  "eslint-plugin-jsx-a11y": "^6.10.2",
87
88
  "eslint-plugin-no-only-tests": "^3.3.0",
89
+ "eslint-plugin-playwright": "^2.2.2",
88
90
  "eslint-plugin-prefer-arrow": "^1.2.3",
89
91
  "eslint-plugin-react": "^7.37.5",
90
92
  "eslint-plugin-react-compiler": "^19.1.0-rc.2",