@sarj/eslint-plugin 19.0.0 → 19.0.2
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 +4 -0
- package/dist/effects.js +2 -0
- package/dist/jsdoc-js.js +66 -0
- package/dist/next.js +3 -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 +49 -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.2",
|
|
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,42 @@
|
|
|
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"
|
|
44
|
+
},
|
|
45
|
+
"./next": {
|
|
46
|
+
"import": "./dist/next.js"
|
|
11
47
|
}
|
|
12
48
|
},
|
|
13
49
|
"files": [
|
|
@@ -29,7 +65,7 @@
|
|
|
29
65
|
"url": "https://github.com/sarj-ai/code-standards/issues"
|
|
30
66
|
},
|
|
31
67
|
"scripts": {
|
|
32
|
-
"build": "tsup",
|
|
68
|
+
"build": "tsup && node scripts/oxlint/build-upstream.ts",
|
|
33
69
|
"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
70
|
"prepack": "npm run build && npm run verify-package",
|
|
35
71
|
"test": "vitest run",
|
|
@@ -47,28 +83,20 @@
|
|
|
47
83
|
"author": "sarj-ai",
|
|
48
84
|
"license": "MIT",
|
|
49
85
|
"dependencies": {
|
|
86
|
+
"@eslint/css-tree": "4.1.2",
|
|
87
|
+
"change-case": "5.4.4",
|
|
50
88
|
"oxc-parser": "0.148.0"
|
|
51
89
|
},
|
|
52
90
|
"devDependencies": {
|
|
53
|
-
"@eslint-react/eslint-plugin": "5.28.8",
|
|
54
91
|
"@oxlint/plugins": "1.91.0",
|
|
55
|
-
"@tanstack/eslint-plugin-query": "5.106.1",
|
|
56
92
|
"@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",
|
|
93
|
+
"esbuild": "0.28.2",
|
|
67
94
|
"eslint-plugin-zod": "^5.2.2",
|
|
68
95
|
"jsonc-parser": "3.3.1",
|
|
69
96
|
"oxfmt": "0.76.0",
|
|
70
97
|
"oxlint": "1.91.0",
|
|
71
98
|
"oxlint-plugin-eslint": "1.91.0",
|
|
99
|
+
"oxlint-plugin-react-doctor": "0.9.22",
|
|
72
100
|
"prettier": "3.9.10",
|
|
73
101
|
"syncpack": "15.3.3",
|
|
74
102
|
"tsrs": "0.23.0-ts7.1.0-beta",
|
|
@@ -79,7 +107,8 @@
|
|
|
79
107
|
"zod": "4.6.7"
|
|
80
108
|
},
|
|
81
109
|
"peerDependencies": {
|
|
82
|
-
"tsrs": ">=0.23.0-ts7.1.0-beta"
|
|
110
|
+
"tsrs": ">=0.23.0-ts7.1.0-beta",
|
|
111
|
+
"typescript": ">=5.6.0 <7"
|
|
83
112
|
},
|
|
84
113
|
"engines": {
|
|
85
114
|
"node": "^22.22.2 || >=24.15.0"
|
|
@@ -91,9 +120,11 @@
|
|
|
91
120
|
"overrides": {
|
|
92
121
|
"brace-expansion@^5.0.0": "5.0.12",
|
|
93
122
|
"esbuild": "0.28.2",
|
|
94
|
-
"eslint-plugin-react": {
|
|
95
|
-
"eslint": "$eslint"
|
|
96
|
-
},
|
|
97
123
|
"nanoid@<3.3.20": "3.3.20"
|
|
124
|
+
},
|
|
125
|
+
"peerDependenciesMeta": {
|
|
126
|
+
"typescript": {
|
|
127
|
+
"optional": true
|
|
128
|
+
}
|
|
98
129
|
}
|
|
99
130
|
}
|