@jsse/eslint-config 0.2.18 → 0.2.19
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/dist/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +18 -4
- package/dist/index.d.cts +341 -141
- package/dist/index.d.ts +341 -141
- package/dist/index.js +18 -4
- package/package.json +14 -13
package/dist/cli.cjs
CHANGED
package/dist/cli.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/globals@15.
|
|
33
|
+
// node_modules/.pnpm/globals@15.10.0/node_modules/globals/globals.json
|
|
34
34
|
var require_globals = __commonJS({
|
|
35
|
-
"node_modules/.pnpm/globals@15.
|
|
35
|
+
"node_modules/.pnpm/globals@15.10.0/node_modules/globals/globals.json"(exports2, module2) {
|
|
36
36
|
module2.exports = {
|
|
37
37
|
amd: {
|
|
38
38
|
define: false,
|
|
@@ -105,6 +105,7 @@ var require_globals = __commonJS({
|
|
|
105
105
|
BackgroundFetchManager: false,
|
|
106
106
|
BackgroundFetchRecord: false,
|
|
107
107
|
BackgroundFetchRegistration: false,
|
|
108
|
+
BarcodeDetector: false,
|
|
108
109
|
BarProp: false,
|
|
109
110
|
BaseAudioContext: false,
|
|
110
111
|
BatteryManager: false,
|
|
@@ -708,6 +709,8 @@ var require_globals = __commonJS({
|
|
|
708
709
|
onresize: true,
|
|
709
710
|
onscroll: true,
|
|
710
711
|
onscrollend: true,
|
|
712
|
+
onscrollsnapchange: true,
|
|
713
|
+
onscrollsnapchanging: true,
|
|
711
714
|
onsearch: true,
|
|
712
715
|
onsecuritypolicyviolation: true,
|
|
713
716
|
onseeked: true,
|
|
@@ -899,6 +902,7 @@ var require_globals = __commonJS({
|
|
|
899
902
|
showDirectoryPicker: false,
|
|
900
903
|
showOpenFilePicker: false,
|
|
901
904
|
showSaveFilePicker: false,
|
|
905
|
+
SnapEvent: false,
|
|
902
906
|
SourceBuffer: false,
|
|
903
907
|
SourceBufferList: false,
|
|
904
908
|
speechSynthesis: false,
|
|
@@ -2666,6 +2670,7 @@ var require_globals = __commonJS({
|
|
|
2666
2670
|
BackgroundFetchManager: false,
|
|
2667
2671
|
BackgroundFetchRecord: false,
|
|
2668
2672
|
BackgroundFetchRegistration: false,
|
|
2673
|
+
BarcodeDetector: false,
|
|
2669
2674
|
Blob: false,
|
|
2670
2675
|
BroadcastChannel: false,
|
|
2671
2676
|
btoa: false,
|
|
@@ -2969,9 +2974,9 @@ var require_globals = __commonJS({
|
|
|
2969
2974
|
}
|
|
2970
2975
|
});
|
|
2971
2976
|
|
|
2972
|
-
// node_modules/.pnpm/globals@15.
|
|
2977
|
+
// node_modules/.pnpm/globals@15.10.0/node_modules/globals/index.js
|
|
2973
2978
|
var require_globals2 = __commonJS({
|
|
2974
|
-
"node_modules/.pnpm/globals@15.
|
|
2979
|
+
"node_modules/.pnpm/globals@15.10.0/node_modules/globals/index.js"(exports2, module2) {
|
|
2975
2980
|
"use strict";
|
|
2976
2981
|
module2.exports = require_globals();
|
|
2977
2982
|
}
|
|
@@ -11588,6 +11593,7 @@ var react = async (options) => {
|
|
|
11588
11593
|
rules: {
|
|
11589
11594
|
...reactRecomendedRules(),
|
|
11590
11595
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
11596
|
+
// @ts-expect-error index access
|
|
11591
11597
|
...pluginReact.configs["jsx-runtime"].rules,
|
|
11592
11598
|
...reactRules()
|
|
11593
11599
|
},
|
|
@@ -11610,6 +11616,14 @@ var react = async (options) => {
|
|
|
11610
11616
|
version: "detect"
|
|
11611
11617
|
}
|
|
11612
11618
|
}
|
|
11619
|
+
},
|
|
11620
|
+
{
|
|
11621
|
+
files: [GLOB_JSX, GLOB_TSX],
|
|
11622
|
+
name: "jsse/react/disables",
|
|
11623
|
+
rules: {
|
|
11624
|
+
"unicorn/no-null": "off"
|
|
11625
|
+
// null is bueno in react
|
|
11626
|
+
}
|
|
11613
11627
|
}
|
|
11614
11628
|
];
|
|
11615
11629
|
if (reactRefresh) {
|