@peerigon/configs 9.0.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,10 @@
|
|
|
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
|
+
|
|
1
8
|
# [9.0.0](https://github.com/peerigon/configs/compare/v8.1.0...v9.0.0) (2025-10-15)
|
|
2
9
|
|
|
3
10
|
### Bug Fixes
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peerigon/configs",
|
|
3
|
-
"version": "9.
|
|
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",
|
|
@@ -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",
|