@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/index.js
CHANGED
|
@@ -24,9 +24,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
mod
|
|
25
25
|
));
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/globals@15.
|
|
27
|
+
// node_modules/.pnpm/globals@15.10.0/node_modules/globals/globals.json
|
|
28
28
|
var require_globals = __commonJS({
|
|
29
|
-
"node_modules/.pnpm/globals@15.
|
|
29
|
+
"node_modules/.pnpm/globals@15.10.0/node_modules/globals/globals.json"(exports, module) {
|
|
30
30
|
module.exports = {
|
|
31
31
|
amd: {
|
|
32
32
|
define: false,
|
|
@@ -99,6 +99,7 @@ var require_globals = __commonJS({
|
|
|
99
99
|
BackgroundFetchManager: false,
|
|
100
100
|
BackgroundFetchRecord: false,
|
|
101
101
|
BackgroundFetchRegistration: false,
|
|
102
|
+
BarcodeDetector: false,
|
|
102
103
|
BarProp: false,
|
|
103
104
|
BaseAudioContext: false,
|
|
104
105
|
BatteryManager: false,
|
|
@@ -702,6 +703,8 @@ var require_globals = __commonJS({
|
|
|
702
703
|
onresize: true,
|
|
703
704
|
onscroll: true,
|
|
704
705
|
onscrollend: true,
|
|
706
|
+
onscrollsnapchange: true,
|
|
707
|
+
onscrollsnapchanging: true,
|
|
705
708
|
onsearch: true,
|
|
706
709
|
onsecuritypolicyviolation: true,
|
|
707
710
|
onseeked: true,
|
|
@@ -893,6 +896,7 @@ var require_globals = __commonJS({
|
|
|
893
896
|
showDirectoryPicker: false,
|
|
894
897
|
showOpenFilePicker: false,
|
|
895
898
|
showSaveFilePicker: false,
|
|
899
|
+
SnapEvent: false,
|
|
896
900
|
SourceBuffer: false,
|
|
897
901
|
SourceBufferList: false,
|
|
898
902
|
speechSynthesis: false,
|
|
@@ -2660,6 +2664,7 @@ var require_globals = __commonJS({
|
|
|
2660
2664
|
BackgroundFetchManager: false,
|
|
2661
2665
|
BackgroundFetchRecord: false,
|
|
2662
2666
|
BackgroundFetchRegistration: false,
|
|
2667
|
+
BarcodeDetector: false,
|
|
2663
2668
|
Blob: false,
|
|
2664
2669
|
BroadcastChannel: false,
|
|
2665
2670
|
btoa: false,
|
|
@@ -2963,9 +2968,9 @@ var require_globals = __commonJS({
|
|
|
2963
2968
|
}
|
|
2964
2969
|
});
|
|
2965
2970
|
|
|
2966
|
-
// node_modules/.pnpm/globals@15.
|
|
2971
|
+
// node_modules/.pnpm/globals@15.10.0/node_modules/globals/index.js
|
|
2967
2972
|
var require_globals2 = __commonJS({
|
|
2968
|
-
"node_modules/.pnpm/globals@15.
|
|
2973
|
+
"node_modules/.pnpm/globals@15.10.0/node_modules/globals/index.js"(exports, module) {
|
|
2969
2974
|
"use strict";
|
|
2970
2975
|
module.exports = require_globals();
|
|
2971
2976
|
}
|
|
@@ -11515,6 +11520,7 @@ var react = async (options) => {
|
|
|
11515
11520
|
rules: {
|
|
11516
11521
|
...reactRecomendedRules(),
|
|
11517
11522
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
11523
|
+
// @ts-expect-error index access
|
|
11518
11524
|
...pluginReact.configs["jsx-runtime"].rules,
|
|
11519
11525
|
...reactRules()
|
|
11520
11526
|
},
|
|
@@ -11537,6 +11543,14 @@ var react = async (options) => {
|
|
|
11537
11543
|
version: "detect"
|
|
11538
11544
|
}
|
|
11539
11545
|
}
|
|
11546
|
+
},
|
|
11547
|
+
{
|
|
11548
|
+
files: [GLOB_JSX, GLOB_TSX],
|
|
11549
|
+
name: "jsse/react/disables",
|
|
11550
|
+
rules: {
|
|
11551
|
+
"unicorn/no-null": "off"
|
|
11552
|
+
// null is bueno in react
|
|
11553
|
+
}
|
|
11540
11554
|
}
|
|
11541
11555
|
];
|
|
11542
11556
|
if (reactRefresh) {
|
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.19",
|
|
5
5
|
"description": "@jsse/eslint-config ~ WYSIWYG",
|
|
6
6
|
"author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@eslint/compat": "^1.1.1",
|
|
63
63
|
"@eslint/js": "~9.11.1",
|
|
64
|
-
"@eslint/markdown": "^6.
|
|
65
|
-
"@stylistic/eslint-plugin": "2.
|
|
66
|
-
"@typescript-eslint/eslint-plugin": "^8.8.
|
|
67
|
-
"@typescript-eslint/parser": "^8.8.
|
|
68
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
64
|
+
"@eslint/markdown": "^6.2.0",
|
|
65
|
+
"@stylistic/eslint-plugin": "2.9.0",
|
|
66
|
+
"@typescript-eslint/eslint-plugin": "^8.8.1",
|
|
67
|
+
"@typescript-eslint/parser": "^8.8.1",
|
|
68
|
+
"@vitest/eslint-plugin": "^1.1.7",
|
|
69
69
|
"eslint-config-flat-gitignore": "^0.3.0",
|
|
70
70
|
"eslint-define-config": "^2.1.0",
|
|
71
71
|
"eslint-plugin-antfu": "^2.7.0",
|
|
@@ -77,24 +77,25 @@
|
|
|
77
77
|
"eslint-plugin-n": "^17.10.3",
|
|
78
78
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
79
79
|
"eslint-plugin-perfectionist": "^3.8.0",
|
|
80
|
-
"eslint-plugin-react": "~7.37.
|
|
80
|
+
"eslint-plugin-react": "~7.37.1",
|
|
81
81
|
"eslint-plugin-react-hooks": "~4.6.2",
|
|
82
82
|
"eslint-plugin-react-refresh": "~0.4.12",
|
|
83
83
|
"eslint-plugin-toml": "^0.11.1",
|
|
84
84
|
"eslint-plugin-tsdoc": "^0.3.0",
|
|
85
|
-
"eslint-plugin-unicorn": "^
|
|
85
|
+
"eslint-plugin-unicorn": "^56.0.0",
|
|
86
86
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
87
87
|
"eslint-plugin-yml": "^1.14.0",
|
|
88
88
|
"jsonc-eslint-parser": "^2.4.0",
|
|
89
89
|
"picocolors": "^1.1.0",
|
|
90
90
|
"toml-eslint-parser": "^0.10.0",
|
|
91
|
-
"typescript-eslint": "^8.8.
|
|
91
|
+
"typescript-eslint": "^8.8.1",
|
|
92
92
|
"yaml-eslint-parser": "^1.2.3"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@biomejs/biome": "1.9.
|
|
96
|
-
"@changesets/cli": "^2.27.
|
|
95
|
+
"@biomejs/biome": "1.9.3",
|
|
96
|
+
"@changesets/cli": "^2.27.9",
|
|
97
97
|
"@jsse/prettier-config": "^0.1.0",
|
|
98
|
+
"@jsse/tsconfig": "^0.2.1",
|
|
98
99
|
"@types/eslint": "^9.6.1",
|
|
99
100
|
"@types/eslint__js": "~8.42.3",
|
|
100
101
|
"@types/fs-extra": "^11.0.4",
|
|
@@ -107,7 +108,7 @@
|
|
|
107
108
|
"execa": "~9.4.0",
|
|
108
109
|
"fast-glob": "^3.3.2",
|
|
109
110
|
"fs-extra": "^11.2.0",
|
|
110
|
-
"globals": "^15.
|
|
111
|
+
"globals": "^15.10.0",
|
|
111
112
|
"local-pkg": "^0.5.0",
|
|
112
113
|
"prettier": "^3.3.3",
|
|
113
114
|
"react": "~18.3.1",
|
|
@@ -116,7 +117,7 @@
|
|
|
116
117
|
"tsup": "^8.3.0",
|
|
117
118
|
"tsx": "^4.19.1",
|
|
118
119
|
"typescript": "~5.6.2",
|
|
119
|
-
"vitest": "^2.1.
|
|
120
|
+
"vitest": "^2.1.2"
|
|
120
121
|
},
|
|
121
122
|
"prettier": "@jsse/prettier-config",
|
|
122
123
|
"scripts": {
|