@sarj/eslint-plugin 19.0.0 → 19.0.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.
- package/README.md +2 -0
- package/dist/effects.js +2 -0
- package/dist/jsdoc-js.js +66 -0
- package/dist/node-test.js +8 -0
- package/dist/playwright.js +5 -0
- package/dist/query.js +5 -0
- package/dist/react-correctness.js +124 -0
- package/dist/react-js.js +9 -0
- package/dist/regexp.js +38 -0
- package/dist/security.js +8 -0
- package/dist/testing-library.js +12 -0
- package/dist/unicorn-js.js +2230 -0
- package/package.json +46 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarj/eslint-plugin",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.1",
|
|
4
4
|
"packageManager": "npm@12.2.1",
|
|
5
5
|
"description": "Custom Oxlint rules for hypermodern TypeScript / React / Next.js projects",
|
|
6
6
|
"type": "module",
|
|
@@ -8,6 +8,39 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"import": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./unicorn": {
|
|
13
|
+
"import": "./dist/unicorn-js.js"
|
|
14
|
+
},
|
|
15
|
+
"./jsdoc": {
|
|
16
|
+
"import": "./dist/jsdoc-js.js"
|
|
17
|
+
},
|
|
18
|
+
"./react": {
|
|
19
|
+
"import": "./dist/react-js.js"
|
|
20
|
+
},
|
|
21
|
+
"./regexp": {
|
|
22
|
+
"import": "./dist/regexp.js"
|
|
23
|
+
},
|
|
24
|
+
"./security": {
|
|
25
|
+
"import": "./dist/security.js"
|
|
26
|
+
},
|
|
27
|
+
"./query": {
|
|
28
|
+
"import": "./dist/query.js"
|
|
29
|
+
},
|
|
30
|
+
"./effects": {
|
|
31
|
+
"import": "./dist/effects.js"
|
|
32
|
+
},
|
|
33
|
+
"./node-test": {
|
|
34
|
+
"import": "./dist/node-test.js"
|
|
35
|
+
},
|
|
36
|
+
"./testing-library": {
|
|
37
|
+
"import": "./dist/testing-library.js"
|
|
38
|
+
},
|
|
39
|
+
"./playwright": {
|
|
40
|
+
"import": "./dist/playwright.js"
|
|
41
|
+
},
|
|
42
|
+
"./react-correctness": {
|
|
43
|
+
"import": "./dist/react-correctness.js"
|
|
11
44
|
}
|
|
12
45
|
},
|
|
13
46
|
"files": [
|
|
@@ -29,7 +62,7 @@
|
|
|
29
62
|
"url": "https://github.com/sarj-ai/code-standards/issues"
|
|
30
63
|
},
|
|
31
64
|
"scripts": {
|
|
32
|
-
"build": "tsup",
|
|
65
|
+
"build": "tsup && node scripts/oxlint/build-upstream.ts",
|
|
33
66
|
"lint": "(test -f dist/index.js || tsup) && export OXLINT_TSGOLINT_PATH=\"$PWD/node_modules/.bin/tsrs-lint\" && oxlint && cd ../standards && oxlint && cd ../../.github/scripts && oxlint",
|
|
34
67
|
"prepack": "npm run build && npm run verify-package",
|
|
35
68
|
"test": "vitest run",
|
|
@@ -47,28 +80,20 @@
|
|
|
47
80
|
"author": "sarj-ai",
|
|
48
81
|
"license": "MIT",
|
|
49
82
|
"dependencies": {
|
|
83
|
+
"@eslint/css-tree": "4.1.2",
|
|
84
|
+
"change-case": "5.4.4",
|
|
50
85
|
"oxc-parser": "0.148.0"
|
|
51
86
|
},
|
|
52
87
|
"devDependencies": {
|
|
53
|
-
"@eslint-react/eslint-plugin": "5.28.8",
|
|
54
88
|
"@oxlint/plugins": "1.91.0",
|
|
55
|
-
"@tanstack/eslint-plugin-query": "5.106.1",
|
|
56
89
|
"@types/node": "26.6.5",
|
|
57
|
-
"
|
|
58
|
-
"eslint-node-test": "1.0.1",
|
|
59
|
-
"eslint-plugin-jsdoc": "65.4.4",
|
|
60
|
-
"eslint-plugin-playwright": "2.12.2",
|
|
61
|
-
"eslint-plugin-react": "^7.37.5",
|
|
62
|
-
"eslint-plugin-react-you-might-not-need-an-effect": "1.0.2",
|
|
63
|
-
"eslint-plugin-regexp": "3.3.3",
|
|
64
|
-
"eslint-plugin-security": "4.2.1",
|
|
65
|
-
"eslint-plugin-testing-library": "7.16.2",
|
|
66
|
-
"eslint-plugin-unicorn": "^79.0.0",
|
|
90
|
+
"esbuild": "0.28.2",
|
|
67
91
|
"eslint-plugin-zod": "^5.2.2",
|
|
68
92
|
"jsonc-parser": "3.3.1",
|
|
69
93
|
"oxfmt": "0.76.0",
|
|
70
94
|
"oxlint": "1.91.0",
|
|
71
95
|
"oxlint-plugin-eslint": "1.91.0",
|
|
96
|
+
"oxlint-plugin-react-doctor": "0.9.22",
|
|
72
97
|
"prettier": "3.9.10",
|
|
73
98
|
"syncpack": "15.3.3",
|
|
74
99
|
"tsrs": "0.23.0-ts7.1.0-beta",
|
|
@@ -79,7 +104,8 @@
|
|
|
79
104
|
"zod": "4.6.7"
|
|
80
105
|
},
|
|
81
106
|
"peerDependencies": {
|
|
82
|
-
"tsrs": ">=0.23.0-ts7.1.0-beta"
|
|
107
|
+
"tsrs": ">=0.23.0-ts7.1.0-beta",
|
|
108
|
+
"typescript": ">=5.6.0 <7"
|
|
83
109
|
},
|
|
84
110
|
"engines": {
|
|
85
111
|
"node": "^22.22.2 || >=24.15.0"
|
|
@@ -91,9 +117,11 @@
|
|
|
91
117
|
"overrides": {
|
|
92
118
|
"brace-expansion@^5.0.0": "5.0.12",
|
|
93
119
|
"esbuild": "0.28.2",
|
|
94
|
-
"eslint-plugin-react": {
|
|
95
|
-
"eslint": "$eslint"
|
|
96
|
-
},
|
|
97
120
|
"nanoid@<3.3.20": "3.3.20"
|
|
121
|
+
},
|
|
122
|
+
"peerDependenciesMeta": {
|
|
123
|
+
"typescript": {
|
|
124
|
+
"optional": true
|
|
125
|
+
}
|
|
98
126
|
}
|
|
99
127
|
}
|