@jsse/eslint-config 0.4.29 → 0.4.31
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 +12 -0
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +26 -9
- package/dist/index.js +20 -5
- package/dist/{version-DP4PvhDn.js → version-CMawUObI.js} +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -8446,9 +8446,9 @@ type ReactHooksVoidUseMemo$1 = [] | [{
|
|
|
8446
8446
|
[k: string]: unknown | undefined;
|
|
8447
8447
|
}]; // ----- react-refresh/only-export-components -----
|
|
8448
8448
|
type ReactRefreshOnlyExportComponents = [] | [{
|
|
8449
|
+
extraHOCs?: string[];
|
|
8449
8450
|
allowExportNames?: string[];
|
|
8450
8451
|
allowConstantExport?: boolean;
|
|
8451
|
-
customHOCs?: string[];
|
|
8452
8452
|
checkJS?: boolean;
|
|
8453
8453
|
}]; // ----- react/boolean-prop-naming -----
|
|
8454
8454
|
type ReactBooleanPropNaming = [] | [{
|
|
@@ -14629,7 +14629,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
|
|
|
14629
14629
|
type DefineConfig = typeof defineConfig;
|
|
14630
14630
|
//#endregion
|
|
14631
14631
|
//#region src/generated/version.d.ts
|
|
14632
|
-
declare const VERSION = "0.4.
|
|
14632
|
+
declare const VERSION = "0.4.31";
|
|
14633
14633
|
declare namespace globs_d_exports {
|
|
14634
14634
|
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_TS_SRC_EXT, GLOB_YAML };
|
|
14635
14635
|
}
|
|
@@ -14936,31 +14936,48 @@ declare function importPluginReact(): Promise<{
|
|
|
14936
14936
|
}>;
|
|
14937
14937
|
declare function importPluginReactRefresh(): Promise<{
|
|
14938
14938
|
pluginReactRefresh: {
|
|
14939
|
-
rules:
|
|
14939
|
+
rules: {
|
|
14940
|
+
"only-export-components": any;
|
|
14941
|
+
};
|
|
14940
14942
|
configs: {
|
|
14941
14943
|
recommended: {
|
|
14944
|
+
name: string;
|
|
14942
14945
|
plugins: {
|
|
14943
14946
|
"react-refresh": {
|
|
14944
|
-
rules:
|
|
14947
|
+
rules: {
|
|
14948
|
+
"only-export-components": any;
|
|
14949
|
+
};
|
|
14945
14950
|
};
|
|
14946
14951
|
};
|
|
14947
|
-
rules:
|
|
14952
|
+
rules: {
|
|
14953
|
+
"only-export-components": any;
|
|
14954
|
+
};
|
|
14948
14955
|
};
|
|
14949
14956
|
vite: {
|
|
14957
|
+
name: string;
|
|
14950
14958
|
plugins: {
|
|
14951
14959
|
"react-refresh": {
|
|
14952
|
-
rules:
|
|
14960
|
+
rules: {
|
|
14961
|
+
"only-export-components": any;
|
|
14962
|
+
};
|
|
14953
14963
|
};
|
|
14954
14964
|
};
|
|
14955
|
-
rules:
|
|
14965
|
+
rules: {
|
|
14966
|
+
"only-export-components": any;
|
|
14967
|
+
};
|
|
14956
14968
|
};
|
|
14957
14969
|
next: {
|
|
14970
|
+
name: string;
|
|
14958
14971
|
plugins: {
|
|
14959
14972
|
"react-refresh": {
|
|
14960
|
-
rules:
|
|
14973
|
+
rules: {
|
|
14974
|
+
"only-export-components": any;
|
|
14975
|
+
};
|
|
14961
14976
|
};
|
|
14962
14977
|
};
|
|
14963
|
-
rules:
|
|
14978
|
+
rules: {
|
|
14979
|
+
"only-export-components": any;
|
|
14980
|
+
};
|
|
14964
14981
|
};
|
|
14965
14982
|
};
|
|
14966
14983
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-B7RtqpM4.js";
|
|
2
|
-
import { n as DEBUG, r as SLOW_RULES, t as VERSION } from "./version-
|
|
2
|
+
import { n as DEBUG, r as SLOW_RULES, t as VERSION } from "./version-CMawUObI.js";
|
|
3
3
|
import { builtinModules, createRequire } from "node:module";
|
|
4
4
|
import process$1 from "node:process";
|
|
5
5
|
import fs, { promises, realpathSync, statSync } from "node:fs";
|
|
@@ -6223,7 +6223,7 @@ function tokenizer(input, options) {
|
|
|
6223
6223
|
}
|
|
6224
6224
|
|
|
6225
6225
|
//#endregion
|
|
6226
|
-
//#region node_modules/.pnpm/ufo@1.6.
|
|
6226
|
+
//#region node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs
|
|
6227
6227
|
const n$1 = /[^\0-\x7E]/;
|
|
6228
6228
|
const t$1 = /[\x2E\u3002\uFF0E\uFF61]/g;
|
|
6229
6229
|
const o = {
|
|
@@ -6488,7 +6488,10 @@ function withBase(input, base) {
|
|
|
6488
6488
|
}
|
|
6489
6489
|
const _base = withoutTrailingSlash(base);
|
|
6490
6490
|
if (input.startsWith(_base)) {
|
|
6491
|
-
|
|
6491
|
+
const nextChar = input[_base.length];
|
|
6492
|
+
if (!nextChar || nextChar === "/" || nextChar === "?") {
|
|
6493
|
+
return input;
|
|
6494
|
+
}
|
|
6492
6495
|
}
|
|
6493
6496
|
return joinURL(_base, input);
|
|
6494
6497
|
}
|
|
@@ -6500,6 +6503,10 @@ function withoutBase(input, base) {
|
|
|
6500
6503
|
if (!input.startsWith(_base)) {
|
|
6501
6504
|
return input;
|
|
6502
6505
|
}
|
|
6506
|
+
const nextChar = input[_base.length];
|
|
6507
|
+
if (nextChar && nextChar !== "/" && nextChar !== "?") {
|
|
6508
|
+
return input;
|
|
6509
|
+
}
|
|
6503
6510
|
const trimmed = input.slice(_base.length);
|
|
6504
6511
|
return trimmed[0] === "/" ? trimmed : "/" + trimmed;
|
|
6505
6512
|
}
|
|
@@ -13068,7 +13075,7 @@ const imports = async (options) => {
|
|
|
13068
13075
|
};
|
|
13069
13076
|
|
|
13070
13077
|
//#endregion
|
|
13071
|
-
//#region node_modules/.pnpm/globals@17.
|
|
13078
|
+
//#region node_modules/.pnpm/globals@17.3.0/node_modules/globals/globals.json
|
|
13072
13079
|
var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13073
13080
|
module.exports = {
|
|
13074
13081
|
"amd": {
|
|
@@ -13510,6 +13517,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13510
13517
|
"HTMLFormElement": false,
|
|
13511
13518
|
"HTMLFrameElement": false,
|
|
13512
13519
|
"HTMLFrameSetElement": false,
|
|
13520
|
+
"HTMLGeolocationElement": false,
|
|
13513
13521
|
"HTMLHeadElement": false,
|
|
13514
13522
|
"HTMLHeadingElement": false,
|
|
13515
13523
|
"HTMLHRElement": false,
|
|
@@ -14302,6 +14310,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14302
14310
|
"XRView": false,
|
|
14303
14311
|
"XRViewerPose": false,
|
|
14304
14312
|
"XRViewport": false,
|
|
14313
|
+
"XRVisibilityMaskChangeEvent": false,
|
|
14305
14314
|
"XRWebGLBinding": false,
|
|
14306
14315
|
"XRWebGLDepthInformation": false,
|
|
14307
14316
|
"XRWebGLLayer": false,
|
|
@@ -14548,6 +14557,8 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14548
14557
|
"GPUColorWrite": false,
|
|
14549
14558
|
"GPUCommandBuffer": false,
|
|
14550
14559
|
"GPUCommandEncoder": false,
|
|
14560
|
+
"GPUCompilationInfo": false,
|
|
14561
|
+
"GPUCompilationMessage": false,
|
|
14551
14562
|
"GPUComputePassEncoder": false,
|
|
14552
14563
|
"GPUComputePipeline": false,
|
|
14553
14564
|
"GPUDevice": false,
|
|
@@ -14596,6 +14607,8 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14596
14607
|
"PerformanceEntry": false,
|
|
14597
14608
|
"PerformanceMark": false,
|
|
14598
14609
|
"PerformanceMeasure": false,
|
|
14610
|
+
"PerformanceObserver": false,
|
|
14611
|
+
"PerformanceObserverEntryList": false,
|
|
14599
14612
|
"process": false,
|
|
14600
14613
|
"ProgressEvent": false,
|
|
14601
14614
|
"PromiseRejectionEvent": false,
|
|
@@ -15505,6 +15518,8 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15505
15518
|
"spyOn": false,
|
|
15506
15519
|
"spyOnAllFunctions": false,
|
|
15507
15520
|
"spyOnProperty": false,
|
|
15521
|
+
"throwUnless": false,
|
|
15522
|
+
"throwUnlessAsync": false,
|
|
15508
15523
|
"waits": false,
|
|
15509
15524
|
"waitsFor": false,
|
|
15510
15525
|
"xdescribe": false,
|
|
@@ -17078,7 +17093,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
17078
17093
|
}));
|
|
17079
17094
|
|
|
17080
17095
|
//#endregion
|
|
17081
|
-
//#region node_modules/.pnpm/globals@17.
|
|
17096
|
+
//#region node_modules/.pnpm/globals@17.3.0/node_modules/globals/index.js
|
|
17082
17097
|
var require_globals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17083
17098
|
module.exports = require_globals$1();
|
|
17084
17099
|
}));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsse/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.31",
|
|
5
5
|
"description": "@jsse/eslint-config ~ WYSIWYG",
|
|
6
6
|
"author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"eslint": "^9.39.1",
|
|
41
41
|
"eslint-plugin-react": "^7.37.5",
|
|
42
42
|
"eslint-plugin-react-hooks": "^7.0.0",
|
|
43
|
-
"eslint-plugin-react-refresh": "^0.
|
|
43
|
+
"eslint-plugin-react-refresh": "^0.5.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"@eslint-react/eslint-plugin": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
|
|
64
|
-
"@eslint/compat": "^2.0.
|
|
64
|
+
"@eslint/compat": "^2.0.2",
|
|
65
65
|
"@eslint/js": "^9.39.2",
|
|
66
66
|
"@eslint/markdown": "^7.5.1",
|
|
67
67
|
"@stylistic/eslint-plugin": "5.7.1",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"eslint-plugin-command": "^3.4.0",
|
|
76
76
|
"eslint-plugin-de-morgan": "^2.0.0",
|
|
77
77
|
"eslint-plugin-import-lite": "^0.5.0",
|
|
78
|
-
"eslint-plugin-jsdoc": "^62.
|
|
78
|
+
"eslint-plugin-jsdoc": "^62.5.0",
|
|
79
79
|
"eslint-plugin-jsonc": "^2.21.0",
|
|
80
80
|
"eslint-plugin-n": "^17.23.2",
|
|
81
81
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"eslint-plugin-pnpm": "^1.5.0",
|
|
84
84
|
"eslint-plugin-react": "^7.37.5",
|
|
85
85
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
86
|
-
"eslint-plugin-react-refresh": "^0.
|
|
86
|
+
"eslint-plugin-react-refresh": "^0.5.0",
|
|
87
87
|
"eslint-plugin-toml": "^1.0.3",
|
|
88
88
|
"eslint-plugin-tsdoc": "^0.5.0",
|
|
89
89
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"@jsse/tsconfig": "^0.4.0",
|
|
101
101
|
"@types/debug": "^4.1.12",
|
|
102
102
|
"@types/fs-extra": "^11.0.4",
|
|
103
|
-
"@types/node": "^25.0
|
|
103
|
+
"@types/node": "^25.2.0",
|
|
104
104
|
"cac": "^6.7.14",
|
|
105
105
|
"eslint": "^9.39.2",
|
|
106
106
|
"eslint-flat-config-utils": "^3.0.0",
|
|
@@ -108,9 +108,9 @@
|
|
|
108
108
|
"execa": "~9.6.1",
|
|
109
109
|
"fast-glob": "^3.3.3",
|
|
110
110
|
"fs-extra": "^11.3.3",
|
|
111
|
-
"globals": "^17.
|
|
111
|
+
"globals": "^17.3.0",
|
|
112
112
|
"local-pkg": "^1.1.2",
|
|
113
|
-
"oxlint": "^1.
|
|
113
|
+
"oxlint": "^1.43.0",
|
|
114
114
|
"picocolors": "^1.1.1",
|
|
115
115
|
"prettier": "^3.8.1",
|
|
116
116
|
"react": "~19.2.4",
|