@coko/lint 3.0.0-beta.0 → 3.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 +14 -0
- package/package.json +2 -1
- package/src/cli.mjs +0 -1
- package/src/eslint.mjs +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [3.1.0](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0...v3.1.0) (2026-08-31)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **eslint:** add playwright plugin ([f366e32](https://gitlab.coko.foundation/cokoapps/lint/commit/f366e32847b510d83d1dece88080d74d943510d2))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* do not git add when running the commit command ([e3e67ac](https://gitlab.coko.foundation/cokoapps/lint/commit/e3e67ac539edf87775a04e69bcae261d5f4b30b0))
|
|
16
|
+
|
|
17
|
+
## [3.0.0](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0-beta.0...v3.0.0) (2026-06-10)
|
|
18
|
+
|
|
5
19
|
## [3.0.0-beta.0](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0-alpha.37...v3.0.0-beta.0) (2026-06-08)
|
|
6
20
|
|
|
7
21
|
## [3.0.0-alpha.37](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0-alpha.36...v3.0.0-alpha.37) (2026-05-05)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coko/lint",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Linter configurations and dependencies for coko's projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lint",
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"eslint-plugin-import": "^2.32.0",
|
|
50
50
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
51
51
|
"eslint-plugin-n": "^17.23.2",
|
|
52
|
+
"eslint-plugin-playwright": "^2.11.0",
|
|
52
53
|
"eslint-plugin-promise": "^7.2.1",
|
|
53
54
|
"eslint-plugin-react": "^7.37.5",
|
|
54
55
|
"eslint-plugin-react-hooks": "^7.0.1",
|
package/src/cli.mjs
CHANGED
package/src/eslint.mjs
CHANGED
|
@@ -7,6 +7,7 @@ import workspaces from 'eslint-plugin-workspaces'
|
|
|
7
7
|
import pluginPromise from 'eslint-plugin-promise'
|
|
8
8
|
import nodePlugin from 'eslint-plugin-n'
|
|
9
9
|
import pluginCypress from 'eslint-plugin-cypress'
|
|
10
|
+
import playwright from 'eslint-plugin-playwright'
|
|
10
11
|
import vitest from '@vitest/eslint-plugin'
|
|
11
12
|
import react from 'eslint-plugin-react'
|
|
12
13
|
import reactHooks from 'eslint-plugin-react-hooks'
|
|
@@ -349,6 +350,15 @@ const root = [
|
|
|
349
350
|
},
|
|
350
351
|
},
|
|
351
352
|
|
|
353
|
+
/**
|
|
354
|
+
* PLAYWRIGHT
|
|
355
|
+
*/
|
|
356
|
+
|
|
357
|
+
{
|
|
358
|
+
files: ['playwright/**/*.{js,mjs,ts}', 'playwright.config.{js,mjs,ts}'],
|
|
359
|
+
extends: [playwright.configs['flat/recommended']],
|
|
360
|
+
},
|
|
361
|
+
|
|
352
362
|
/**
|
|
353
363
|
* CLIENT
|
|
354
364
|
*/
|