@jsse/eslint-config 0.2.28 → 0.2.30
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 +13 -0
- package/dist/cli.cjs +8 -8
- package/dist/cli.js +8 -8
- package/dist/esm/cli.js +3 -3
- package/dist/esm/configs/perfectionist.js +3 -3
- package/dist/esm/fixable.js +1 -0
- package/dist/esm/generated/version.d.ts +1 -1
- package/dist/esm/generated/version.js +1 -1
- package/dist/esm/plugins.d.ts +3 -3
- package/dist/esm/plugins.js +1 -4
- package/dist/index.cjs +16 -10
- package/dist/index.d.cts +647 -390
- package/dist/index.d.ts +647 -390
- package/dist/index.js +16 -10
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -28,9 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
mod
|
|
29
29
|
));
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/globals@15.
|
|
31
|
+
// node_modules/.pnpm/globals@15.13.0/node_modules/globals/globals.json
|
|
32
32
|
var require_globals = __commonJS({
|
|
33
|
-
"node_modules/.pnpm/globals@15.
|
|
33
|
+
"node_modules/.pnpm/globals@15.13.0/node_modules/globals/globals.json"(exports, module) {
|
|
34
34
|
module.exports = {
|
|
35
35
|
amd: {
|
|
36
36
|
define: false,
|
|
@@ -191,6 +191,7 @@ var require_globals = __commonJS({
|
|
|
191
191
|
CSSKeywordValue: false,
|
|
192
192
|
CSSLayerBlockRule: false,
|
|
193
193
|
CSSLayerStatementRule: false,
|
|
194
|
+
CSSMarginRule: false,
|
|
194
195
|
CSSMathClamp: false,
|
|
195
196
|
CSSMathInvert: false,
|
|
196
197
|
CSSMathMax: false,
|
|
@@ -1156,12 +1157,15 @@ var require_globals = __commonJS({
|
|
|
1156
1157
|
XRDepthInformation: false,
|
|
1157
1158
|
XRDOMOverlayState: false,
|
|
1158
1159
|
XRFrame: false,
|
|
1160
|
+
XRHand: false,
|
|
1159
1161
|
XRHitTestResult: false,
|
|
1160
1162
|
XRHitTestSource: false,
|
|
1161
1163
|
XRInputSource: false,
|
|
1162
1164
|
XRInputSourceArray: false,
|
|
1163
1165
|
XRInputSourceEvent: false,
|
|
1164
1166
|
XRInputSourcesChangeEvent: false,
|
|
1167
|
+
XRJointPose: false,
|
|
1168
|
+
XRJointSpace: false,
|
|
1165
1169
|
XRLayer: false,
|
|
1166
1170
|
XRLightEstimate: false,
|
|
1167
1171
|
XRLightProbe: false,
|
|
@@ -2801,6 +2805,10 @@ var require_globals = __commonJS({
|
|
|
2801
2805
|
GPUUncapturedErrorEvent: false,
|
|
2802
2806
|
GPUValidationError: false,
|
|
2803
2807
|
Headers: false,
|
|
2808
|
+
HID: false,
|
|
2809
|
+
HIDConnectionEvent: false,
|
|
2810
|
+
HIDDevice: false,
|
|
2811
|
+
HIDInputReportEvent: false,
|
|
2804
2812
|
IDBCursor: false,
|
|
2805
2813
|
IDBCursorWithValue: false,
|
|
2806
2814
|
IDBDatabase: false,
|
|
@@ -3006,9 +3014,9 @@ var require_globals = __commonJS({
|
|
|
3006
3014
|
}
|
|
3007
3015
|
});
|
|
3008
3016
|
|
|
3009
|
-
// node_modules/.pnpm/globals@15.
|
|
3017
|
+
// node_modules/.pnpm/globals@15.13.0/node_modules/globals/index.js
|
|
3010
3018
|
var require_globals2 = __commonJS({
|
|
3011
|
-
"node_modules/.pnpm/globals@15.
|
|
3019
|
+
"node_modules/.pnpm/globals@15.13.0/node_modules/globals/index.js"(exports, module) {
|
|
3012
3020
|
"use strict";
|
|
3013
3021
|
module.exports = require_globals();
|
|
3014
3022
|
}
|
|
@@ -10717,7 +10725,6 @@ async function importPluginReactHooks() {
|
|
|
10717
10725
|
}
|
|
10718
10726
|
async function importPluginReactRefresh() {
|
|
10719
10727
|
const pluginReactRefresh = await interopDefault2(
|
|
10720
|
-
// @ts-expect-error - bad types
|
|
10721
10728
|
import("eslint-plugin-react-refresh")
|
|
10722
10729
|
);
|
|
10723
10730
|
return {
|
|
@@ -10730,7 +10737,6 @@ async function importReactPlugins() {
|
|
|
10730
10737
|
interopDefault2(import("eslint-plugin-react")),
|
|
10731
10738
|
// @ts-expect-error - bad types
|
|
10732
10739
|
interopDefault2(import("eslint-plugin-react-hooks")),
|
|
10733
|
-
// @ts-expect-error - bad types
|
|
10734
10740
|
interopDefault2(import("eslint-plugin-react-refresh"))
|
|
10735
10741
|
]
|
|
10736
10742
|
);
|
|
@@ -11989,10 +11995,10 @@ var perfectionist = async () => {
|
|
|
11989
11995
|
{
|
|
11990
11996
|
customGroups: {
|
|
11991
11997
|
type: {
|
|
11992
|
-
react: ["react", "react
|
|
11998
|
+
react: ["^react$", "^react-.+", "^react-.+/.+$"]
|
|
11993
11999
|
},
|
|
11994
12000
|
value: {
|
|
11995
|
-
react: ["react", "react
|
|
12001
|
+
react: ["^react$", "^react-.+", "^react-.+/.+$"]
|
|
11996
12002
|
}
|
|
11997
12003
|
},
|
|
11998
12004
|
groups: [
|
|
@@ -12008,7 +12014,7 @@ var perfectionist = async () => {
|
|
|
12008
12014
|
"object",
|
|
12009
12015
|
"unknown"
|
|
12010
12016
|
],
|
|
12011
|
-
internalPattern: ["
|
|
12017
|
+
internalPattern: ["^~/.+", "^@/.+"],
|
|
12012
12018
|
newlinesBetween: "ignore",
|
|
12013
12019
|
order: "asc",
|
|
12014
12020
|
type: "natural"
|
|
@@ -13429,7 +13435,7 @@ async function defineConfig(options = {}, ...userConfigs) {
|
|
|
13429
13435
|
}
|
|
13430
13436
|
|
|
13431
13437
|
// src/generated/version.ts
|
|
13432
|
-
var VERSION = "0.2.
|
|
13438
|
+
var VERSION = "0.2.30";
|
|
13433
13439
|
|
|
13434
13440
|
// src/presets.ts
|
|
13435
13441
|
var jsseReact = (options, ...configs) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsse/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.30",
|
|
5
5
|
"description": "@jsse/eslint-config ~ WYSIWYG",
|
|
6
6
|
"author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
70
70
|
"@eslint/compat": "^1.2.3",
|
|
71
|
-
"@eslint/js": "~9.
|
|
71
|
+
"@eslint/js": "~9.17.0",
|
|
72
72
|
"@eslint/markdown": "^6.2.1",
|
|
73
|
-
"@stylistic/eslint-plugin": "2.
|
|
73
|
+
"@stylistic/eslint-plugin": "2.12.1",
|
|
74
74
|
"@typescript-eslint/eslint-plugin": "^8.15.0",
|
|
75
75
|
"@typescript-eslint/parser": "^8.15.0",
|
|
76
76
|
"@vitest/eslint-plugin": "^1.1.10",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"eslint-plugin-jsonc": "^2.18.1",
|
|
85
85
|
"eslint-plugin-n": "^17.13.1",
|
|
86
86
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
87
|
-
"eslint-plugin-perfectionist": "^
|
|
87
|
+
"eslint-plugin-perfectionist": "^4.0.3",
|
|
88
88
|
"eslint-plugin-react": "~7.37.2",
|
|
89
|
-
"eslint-plugin-react-hooks": "~5.
|
|
89
|
+
"eslint-plugin-react-hooks": "~5.1.0",
|
|
90
90
|
"eslint-plugin-react-refresh": "~0.4.14",
|
|
91
|
-
"eslint-plugin-toml": "^0.
|
|
92
|
-
"eslint-plugin-tsdoc": "^0.
|
|
91
|
+
"eslint-plugin-toml": "^0.12.0",
|
|
92
|
+
"eslint-plugin-tsdoc": "^0.4.0",
|
|
93
93
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
94
94
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
95
95
|
"eslint-plugin-yml": "^1.15.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@types/eslint": "^9.6.1",
|
|
108
108
|
"@types/eslint__js": "~8.42.3",
|
|
109
109
|
"@types/fs-extra": "^11.0.4",
|
|
110
|
-
"@types/node": "^22.9.
|
|
110
|
+
"@types/node": "^22.9.3",
|
|
111
111
|
"cac": "^6.7.14",
|
|
112
112
|
"eslint": "^9.15.0",
|
|
113
113
|
"eslint-flat-config-utils": "^0.4.0",
|
|
@@ -121,12 +121,12 @@
|
|
|
121
121
|
"neverthrow": "^8.1.1",
|
|
122
122
|
"picocolors": "^1.1.1",
|
|
123
123
|
"prettier": "^3.3.3",
|
|
124
|
-
"react": "~
|
|
124
|
+
"react": "~19.0.0",
|
|
125
125
|
"rimraf": "^6.0.1",
|
|
126
126
|
"tailwindcss": "^3.4.15",
|
|
127
127
|
"tsup": "^8.3.5",
|
|
128
128
|
"tsx": "^4.19.2",
|
|
129
|
-
"typescript": "5.
|
|
129
|
+
"typescript": "5.7.2",
|
|
130
130
|
"vitest": "^2.1.5"
|
|
131
131
|
},
|
|
132
132
|
"prettier": "@jsse/prettier-config",
|