@jsse/eslint-config 0.1.17 → 0.1.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 +132 -44
- package/dist/index.d.cts +163 -92
- package/dist/index.d.ts +163 -92
- package/dist/index.js +131 -44
- package/package.json +18 -14
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.8.0/node_modules/globals/globals.json
|
|
34
34
|
var require_globals = __commonJS({
|
|
35
|
-
"node_modules/.pnpm/globals@15.
|
|
35
|
+
"node_modules/.pnpm/globals@15.8.0/node_modules/globals/globals.json"(exports2, module2) {
|
|
36
36
|
module2.exports = {
|
|
37
37
|
amd: {
|
|
38
38
|
define: false,
|
|
@@ -307,6 +307,7 @@ var require_globals = __commonJS({
|
|
|
307
307
|
FileSystemHandle: false,
|
|
308
308
|
FileSystemWritableFileStream: false,
|
|
309
309
|
find: false,
|
|
310
|
+
Float16Array: false,
|
|
310
311
|
focus: false,
|
|
311
312
|
FocusEvent: false,
|
|
312
313
|
FontData: false,
|
|
@@ -1888,6 +1889,68 @@ var require_globals = __commonJS({
|
|
|
1888
1889
|
WeakRef: false,
|
|
1889
1890
|
WeakSet: false
|
|
1890
1891
|
},
|
|
1892
|
+
es2025: {
|
|
1893
|
+
AggregateError: false,
|
|
1894
|
+
Array: false,
|
|
1895
|
+
ArrayBuffer: false,
|
|
1896
|
+
Atomics: false,
|
|
1897
|
+
BigInt: false,
|
|
1898
|
+
BigInt64Array: false,
|
|
1899
|
+
BigUint64Array: false,
|
|
1900
|
+
Boolean: false,
|
|
1901
|
+
DataView: false,
|
|
1902
|
+
Date: false,
|
|
1903
|
+
decodeURI: false,
|
|
1904
|
+
decodeURIComponent: false,
|
|
1905
|
+
encodeURI: false,
|
|
1906
|
+
encodeURIComponent: false,
|
|
1907
|
+
Error: false,
|
|
1908
|
+
escape: false,
|
|
1909
|
+
eval: false,
|
|
1910
|
+
EvalError: false,
|
|
1911
|
+
FinalizationRegistry: false,
|
|
1912
|
+
Float32Array: false,
|
|
1913
|
+
Float64Array: false,
|
|
1914
|
+
Function: false,
|
|
1915
|
+
globalThis: false,
|
|
1916
|
+
Infinity: false,
|
|
1917
|
+
Int16Array: false,
|
|
1918
|
+
Int32Array: false,
|
|
1919
|
+
Int8Array: false,
|
|
1920
|
+
Intl: false,
|
|
1921
|
+
isFinite: false,
|
|
1922
|
+
isNaN: false,
|
|
1923
|
+
JSON: false,
|
|
1924
|
+
Map: false,
|
|
1925
|
+
Math: false,
|
|
1926
|
+
NaN: false,
|
|
1927
|
+
Number: false,
|
|
1928
|
+
Object: false,
|
|
1929
|
+
parseFloat: false,
|
|
1930
|
+
parseInt: false,
|
|
1931
|
+
Promise: false,
|
|
1932
|
+
Proxy: false,
|
|
1933
|
+
RangeError: false,
|
|
1934
|
+
ReferenceError: false,
|
|
1935
|
+
Reflect: false,
|
|
1936
|
+
RegExp: false,
|
|
1937
|
+
Set: false,
|
|
1938
|
+
SharedArrayBuffer: false,
|
|
1939
|
+
String: false,
|
|
1940
|
+
Symbol: false,
|
|
1941
|
+
SyntaxError: false,
|
|
1942
|
+
TypeError: false,
|
|
1943
|
+
Uint16Array: false,
|
|
1944
|
+
Uint32Array: false,
|
|
1945
|
+
Uint8Array: false,
|
|
1946
|
+
Uint8ClampedArray: false,
|
|
1947
|
+
undefined: false,
|
|
1948
|
+
unescape: false,
|
|
1949
|
+
URIError: false,
|
|
1950
|
+
WeakMap: false,
|
|
1951
|
+
WeakRef: false,
|
|
1952
|
+
WeakSet: false
|
|
1953
|
+
},
|
|
1891
1954
|
es5: {
|
|
1892
1955
|
Array: false,
|
|
1893
1956
|
Boolean: false,
|
|
@@ -2900,9 +2963,9 @@ var require_globals = __commonJS({
|
|
|
2900
2963
|
}
|
|
2901
2964
|
});
|
|
2902
2965
|
|
|
2903
|
-
// node_modules/.pnpm/globals@15.
|
|
2966
|
+
// node_modules/.pnpm/globals@15.8.0/node_modules/globals/index.js
|
|
2904
2967
|
var require_globals2 = __commonJS({
|
|
2905
|
-
"node_modules/.pnpm/globals@15.
|
|
2968
|
+
"node_modules/.pnpm/globals@15.8.0/node_modules/globals/index.js"(exports2, module2) {
|
|
2906
2969
|
"use strict";
|
|
2907
2970
|
module2.exports = require_globals();
|
|
2908
2971
|
}
|
|
@@ -2945,6 +3008,7 @@ __export(src_exports, {
|
|
|
2945
3008
|
importPluginReactRefresh: () => importPluginReactRefresh,
|
|
2946
3009
|
importPluginStylistic: () => importPluginStylistic,
|
|
2947
3010
|
importPluginTailwind: () => importPluginTailwind,
|
|
3011
|
+
importPluginTsdoc: () => importPluginTsdoc,
|
|
2948
3012
|
importReactPlugins: () => importReactPlugins,
|
|
2949
3013
|
importYmlLibs: () => importYmlLibs,
|
|
2950
3014
|
interopDefault: () => interopDefault2,
|
|
@@ -9991,6 +10055,12 @@ async function importPluginJsdoc() {
|
|
|
9991
10055
|
pluginJsdoc
|
|
9992
10056
|
};
|
|
9993
10057
|
}
|
|
10058
|
+
async function importPluginTsdoc() {
|
|
10059
|
+
const pluginTsdoc = await interopDefault2(import("eslint-plugin-tsdoc"));
|
|
10060
|
+
return {
|
|
10061
|
+
pluginTsdoc
|
|
10062
|
+
};
|
|
10063
|
+
}
|
|
9994
10064
|
async function importPluginStylistic() {
|
|
9995
10065
|
const pluginStylistic = await interopDefault2(
|
|
9996
10066
|
import("@stylistic/eslint-plugin")
|
|
@@ -10008,7 +10078,7 @@ async function importPluginTailwind() {
|
|
|
10008
10078
|
var antfu = async () => {
|
|
10009
10079
|
return [
|
|
10010
10080
|
{
|
|
10011
|
-
name: "jsse
|
|
10081
|
+
name: "jsse/antfu",
|
|
10012
10082
|
plugins: {
|
|
10013
10083
|
antfu: import_eslint_plugin_antfu.default
|
|
10014
10084
|
},
|
|
@@ -10020,7 +10090,7 @@ var antfu = async () => {
|
|
|
10020
10090
|
},
|
|
10021
10091
|
{
|
|
10022
10092
|
files: ["**/src/**/*"],
|
|
10023
|
-
name: "jsse
|
|
10093
|
+
name: "jsse/antfu/src",
|
|
10024
10094
|
// @ts-expect-error - antfu plugin types err
|
|
10025
10095
|
rules: {
|
|
10026
10096
|
"antfu/no-import-dist": "error"
|
|
@@ -10028,7 +10098,7 @@ var antfu = async () => {
|
|
|
10028
10098
|
},
|
|
10029
10099
|
{
|
|
10030
10100
|
files: ["**/bin/**/*", `**/bin.${GLOB_SRC_EXT}`],
|
|
10031
|
-
name: "jsse
|
|
10101
|
+
name: "jsse/antfu/bin",
|
|
10032
10102
|
rules: {
|
|
10033
10103
|
"antfu/no-import-dist": "off",
|
|
10034
10104
|
"antfu/no-import-node-modules-by-path": "off"
|
|
@@ -10040,7 +10110,7 @@ var antfu = async () => {
|
|
|
10040
10110
|
// src/configs/comments.ts
|
|
10041
10111
|
var comments = async () => [
|
|
10042
10112
|
{
|
|
10043
|
-
name: "jsse
|
|
10113
|
+
name: "jsse/eslint-comments",
|
|
10044
10114
|
plugins: {
|
|
10045
10115
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10046
10116
|
"eslint-comments": import_eslint_plugin_eslint_comments.default
|
|
@@ -10068,7 +10138,7 @@ var imports = async (options) => {
|
|
|
10068
10138
|
const { stylistic: stylistic2 = true } = options ?? {};
|
|
10069
10139
|
return [
|
|
10070
10140
|
{
|
|
10071
|
-
name: "jsse
|
|
10141
|
+
name: "jsse/import",
|
|
10072
10142
|
plugins: {
|
|
10073
10143
|
import: pluginImport
|
|
10074
10144
|
},
|
|
@@ -10124,7 +10194,7 @@ var javascript = async (options) => {
|
|
|
10124
10194
|
linterOptions: {
|
|
10125
10195
|
reportUnusedDisableDirectives
|
|
10126
10196
|
},
|
|
10127
|
-
name: "jsse
|
|
10197
|
+
name: "jsse/javascript",
|
|
10128
10198
|
plugins: {
|
|
10129
10199
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10130
10200
|
"unused-imports": import_eslint_plugin_unused_imports.default
|
|
@@ -10345,7 +10415,7 @@ var javascript = async (options) => {
|
|
|
10345
10415
|
},
|
|
10346
10416
|
{
|
|
10347
10417
|
files: [`scripts/${GLOB_SRC}`, `cli.${GLOB_SRC_EXT}`],
|
|
10348
|
-
name: "jsse
|
|
10418
|
+
name: "jsse/scripts-overrides",
|
|
10349
10419
|
rules: {
|
|
10350
10420
|
"no-console": "off"
|
|
10351
10421
|
}
|
|
@@ -10358,7 +10428,7 @@ var jsdoc = async () => {
|
|
|
10358
10428
|
const { pluginJsdoc } = await importPluginJsdoc();
|
|
10359
10429
|
return [
|
|
10360
10430
|
{
|
|
10361
|
-
name: "jsse
|
|
10431
|
+
name: "jsse/jsdoc",
|
|
10362
10432
|
plugins: {
|
|
10363
10433
|
jsdoc: pluginJsdoc
|
|
10364
10434
|
},
|
|
@@ -10385,6 +10455,23 @@ var jsdoc = async () => {
|
|
|
10385
10455
|
];
|
|
10386
10456
|
};
|
|
10387
10457
|
|
|
10458
|
+
// src/configs/tsdoc.ts
|
|
10459
|
+
var tsdoc = async () => {
|
|
10460
|
+
const { pluginTsdoc } = await importPluginTsdoc();
|
|
10461
|
+
return [
|
|
10462
|
+
{
|
|
10463
|
+
files: ["*.ts", "*.tsx"],
|
|
10464
|
+
name: "jsse/tsdoc",
|
|
10465
|
+
plugins: {
|
|
10466
|
+
tsdoc: pluginTsdoc
|
|
10467
|
+
},
|
|
10468
|
+
rules: {
|
|
10469
|
+
"tsdoc/syntax": "warn"
|
|
10470
|
+
}
|
|
10471
|
+
}
|
|
10472
|
+
];
|
|
10473
|
+
};
|
|
10474
|
+
|
|
10388
10475
|
// src/configs/jsonc.ts
|
|
10389
10476
|
var jsonc = async (options) => {
|
|
10390
10477
|
const { overrides = {}, stylistic: stylistic2 = true } = options ?? {};
|
|
@@ -10392,7 +10479,7 @@ var jsonc = async (options) => {
|
|
|
10392
10479
|
const { parserJsonc, pluginJsonc } = await importJsoncLibs();
|
|
10393
10480
|
return [
|
|
10394
10481
|
{
|
|
10395
|
-
name: "jsse
|
|
10482
|
+
name: "jsse/jsonc/setup",
|
|
10396
10483
|
plugins: {
|
|
10397
10484
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-explicit-any
|
|
10398
10485
|
jsonc: pluginJsonc
|
|
@@ -10404,7 +10491,7 @@ var jsonc = async (options) => {
|
|
|
10404
10491
|
languageOptions: {
|
|
10405
10492
|
parser: parserJsonc
|
|
10406
10493
|
},
|
|
10407
|
-
name: "jsse
|
|
10494
|
+
name: "jsse/jsonc/rules",
|
|
10408
10495
|
rules: {
|
|
10409
10496
|
"jsonc/no-bigint-literals": "error",
|
|
10410
10497
|
"jsonc/no-binary-expression": "error",
|
|
@@ -10915,7 +11002,7 @@ var markdown = async (options) => {
|
|
|
10915
11002
|
);
|
|
10916
11003
|
return [
|
|
10917
11004
|
{
|
|
10918
|
-
name: "jsse
|
|
11005
|
+
name: "jsse/markdown/setup",
|
|
10919
11006
|
plugins: {
|
|
10920
11007
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10921
11008
|
markdown: pluginMarkdown
|
|
@@ -10923,7 +11010,7 @@ var markdown = async (options) => {
|
|
|
10923
11010
|
},
|
|
10924
11011
|
{
|
|
10925
11012
|
files: [GLOB_MARKDOWN],
|
|
10926
|
-
name: "jsse
|
|
11013
|
+
name: "jsse/markdown/processor",
|
|
10927
11014
|
processor: "markdown/markdown"
|
|
10928
11015
|
},
|
|
10929
11016
|
{
|
|
@@ -10938,7 +11025,7 @@ var markdown = async (options) => {
|
|
|
10938
11025
|
}
|
|
10939
11026
|
}
|
|
10940
11027
|
},
|
|
10941
|
-
name: "jsse
|
|
11028
|
+
name: "jsse/markdown/rules",
|
|
10942
11029
|
rules: {
|
|
10943
11030
|
"@typescript-eslint/await-thenable": "off",
|
|
10944
11031
|
"@typescript-eslint/consistent-type-imports": "off",
|
|
@@ -10987,7 +11074,7 @@ var markdown = async (options) => {
|
|
|
10987
11074
|
var n = async () => {
|
|
10988
11075
|
return [
|
|
10989
11076
|
{
|
|
10990
|
-
name: "jsse
|
|
11077
|
+
name: "jsse/n",
|
|
10991
11078
|
plugins: {
|
|
10992
11079
|
n: import_eslint_plugin_n.default
|
|
10993
11080
|
},
|
|
@@ -11009,7 +11096,7 @@ var n = async () => {
|
|
|
11009
11096
|
var perfectionist = async () => {
|
|
11010
11097
|
return [
|
|
11011
11098
|
{
|
|
11012
|
-
name: "jsse
|
|
11099
|
+
name: "jsse/perfectionist",
|
|
11013
11100
|
plugins: {
|
|
11014
11101
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11015
11102
|
perfectionist: import_eslint_plugin_perfectionist.default
|
|
@@ -11136,7 +11223,7 @@ function eslintConfigPrettierRules() {
|
|
|
11136
11223
|
var prettier = async () => {
|
|
11137
11224
|
return [
|
|
11138
11225
|
{
|
|
11139
|
-
name: "jsse
|
|
11226
|
+
name: "jsse/prettier/config",
|
|
11140
11227
|
rules: eslintConfigPrettierRules()
|
|
11141
11228
|
}
|
|
11142
11229
|
];
|
|
@@ -11346,14 +11433,14 @@ function reactRefreshFlatConfigRules() {
|
|
|
11346
11433
|
return [
|
|
11347
11434
|
{
|
|
11348
11435
|
files: [GLOB_SRC],
|
|
11349
|
-
name: "jsse
|
|
11436
|
+
name: "jsse/react/refresh",
|
|
11350
11437
|
rules: {
|
|
11351
11438
|
"react-refresh/only-export-components": "error"
|
|
11352
11439
|
}
|
|
11353
11440
|
},
|
|
11354
11441
|
{
|
|
11355
11442
|
files: ["**/*.stories.tsx"],
|
|
11356
|
-
name: "jsse
|
|
11443
|
+
name: "jsse/react:refresh/stories",
|
|
11357
11444
|
rules: {
|
|
11358
11445
|
"react-refresh/only-export-components": "off"
|
|
11359
11446
|
}
|
|
@@ -11406,7 +11493,7 @@ var react = async (options) => {
|
|
|
11406
11493
|
react: react2,
|
|
11407
11494
|
tsconfig
|
|
11408
11495
|
}),
|
|
11409
|
-
name: "jsse
|
|
11496
|
+
name: "jsse/react/setup",
|
|
11410
11497
|
plugins: {
|
|
11411
11498
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11412
11499
|
react: pluginReact,
|
|
@@ -11443,7 +11530,7 @@ var sortPackageJson = async () => {
|
|
|
11443
11530
|
return [
|
|
11444
11531
|
{
|
|
11445
11532
|
files: ["**/package.json"],
|
|
11446
|
-
name: "jsse
|
|
11533
|
+
name: "jsse/sort/package-json",
|
|
11447
11534
|
rules: {
|
|
11448
11535
|
"jsonc/sort-array-values": [
|
|
11449
11536
|
"error",
|
|
@@ -11529,7 +11616,7 @@ var sortTsconfig = async () => {
|
|
|
11529
11616
|
return [
|
|
11530
11617
|
{
|
|
11531
11618
|
files: ["**/tsconfig.json", "**/tsconfig.*.json"],
|
|
11532
|
-
name: "jsse
|
|
11619
|
+
name: "jsse/sort/tsconfig",
|
|
11533
11620
|
rules: {
|
|
11534
11621
|
"jsonc/sort-keys": [
|
|
11535
11622
|
"error",
|
|
@@ -11673,7 +11760,7 @@ var stylistic = async (options) => {
|
|
|
11673
11760
|
const { pluginStylistic } = await importPluginStylistic();
|
|
11674
11761
|
return [
|
|
11675
11762
|
{
|
|
11676
|
-
name: "jsse
|
|
11763
|
+
name: "jsse/stylistic",
|
|
11677
11764
|
plugins: {
|
|
11678
11765
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11679
11766
|
"@stylistic": pluginStylistic
|
|
@@ -11718,7 +11805,7 @@ var tailwind = async (options) => {
|
|
|
11718
11805
|
return [
|
|
11719
11806
|
{
|
|
11720
11807
|
files: [GLOB_SRC],
|
|
11721
|
-
name: "jsse
|
|
11808
|
+
name: "jsse/tailwind/rules",
|
|
11722
11809
|
plugins: {
|
|
11723
11810
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11724
11811
|
tailwindcss: pluginTailwind
|
|
@@ -11744,7 +11831,7 @@ var noOnlyTests = async (options = {}) => {
|
|
|
11744
11831
|
);
|
|
11745
11832
|
return [
|
|
11746
11833
|
{
|
|
11747
|
-
name: "jsse
|
|
11834
|
+
name: "jsse/no-only-tests/setup",
|
|
11748
11835
|
plugins: {
|
|
11749
11836
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11750
11837
|
"no-only-tests": pluginNoOnlyTests
|
|
@@ -11752,7 +11839,7 @@ var noOnlyTests = async (options = {}) => {
|
|
|
11752
11839
|
},
|
|
11753
11840
|
{
|
|
11754
11841
|
files: GLOB_TESTS,
|
|
11755
|
-
name: "jsse
|
|
11842
|
+
name: "jsse/no-only-tests/rules",
|
|
11756
11843
|
rules: {
|
|
11757
11844
|
"no-only-tests/no-only-tests": isInEditor2 ? "off" : isCI() ? "error" : "warn",
|
|
11758
11845
|
"unicorn/no-null": "off",
|
|
@@ -11789,7 +11876,7 @@ var typescript = async (options) => {
|
|
|
11789
11876
|
return [
|
|
11790
11877
|
{
|
|
11791
11878
|
// Install the plugins without globs, so they can be configured separately.
|
|
11792
|
-
name: "jsse
|
|
11879
|
+
name: "jsse/typescript/setup",
|
|
11793
11880
|
plugins: {
|
|
11794
11881
|
import: pluginImport,
|
|
11795
11882
|
[tsPrefixTo]: import_eslint_plugin.default
|
|
@@ -11804,17 +11891,17 @@ var typescript = async (options) => {
|
|
|
11804
11891
|
react: react2,
|
|
11805
11892
|
tsconfig: tsconfigPath
|
|
11806
11893
|
}),
|
|
11807
|
-
name: "jsse
|
|
11894
|
+
name: "jsse/typescript/parser"
|
|
11808
11895
|
},
|
|
11809
11896
|
{
|
|
11810
11897
|
// only apply ts rules to ts files!
|
|
11811
11898
|
files: [GLOB_TS, GLOB_TSX, ...componentExts.map((ext) => `**/*.${ext}`)],
|
|
11812
|
-
name: "jsse
|
|
11899
|
+
name: "jsse/typescript/rules",
|
|
11813
11900
|
rules: renameRules(tsrules || {}, tsPrefix, tsPrefixTo)
|
|
11814
11901
|
},
|
|
11815
11902
|
{
|
|
11816
11903
|
files: ["**/*.d.ts"],
|
|
11817
|
-
name: "jsse
|
|
11904
|
+
name: "jsse/typescript:disables/dts",
|
|
11818
11905
|
rules: {
|
|
11819
11906
|
"eslint-comments/no-unlimited-disable": "off",
|
|
11820
11907
|
"import/no-duplicates": "off",
|
|
@@ -11824,7 +11911,7 @@ var typescript = async (options) => {
|
|
|
11824
11911
|
},
|
|
11825
11912
|
{
|
|
11826
11913
|
files: ["**/*.{test,spec}.ts?(x)"],
|
|
11827
|
-
name: "jsse
|
|
11914
|
+
name: "jsse/typescript:disable/test",
|
|
11828
11915
|
rules: {
|
|
11829
11916
|
"@typescript-eslint/no-unused-expressions": "off",
|
|
11830
11917
|
"no-unused-expressions": "off"
|
|
@@ -11832,7 +11919,7 @@ var typescript = async (options) => {
|
|
|
11832
11919
|
},
|
|
11833
11920
|
{
|
|
11834
11921
|
files: ["**/*.js", "**/*.cjs"],
|
|
11835
|
-
name: "jsse
|
|
11922
|
+
name: "jsse/typescript/javascript-overrides",
|
|
11836
11923
|
rules: {
|
|
11837
11924
|
"@typescript-eslint/no-require-imports": "off",
|
|
11838
11925
|
"@typescript-eslint/no-var-requires": "off"
|
|
@@ -11864,7 +11951,7 @@ function unicornRecommended() {
|
|
|
11864
11951
|
var unicorn = async () => {
|
|
11865
11952
|
return [
|
|
11866
11953
|
{
|
|
11867
|
-
name: "jsse
|
|
11954
|
+
name: "jsse/unicorn",
|
|
11868
11955
|
plugins: {
|
|
11869
11956
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
11870
11957
|
unicorn: import_eslint_plugin_unicorn.default
|
|
@@ -11944,7 +12031,7 @@ var unicorn = async () => {
|
|
|
11944
12031
|
},
|
|
11945
12032
|
{
|
|
11946
12033
|
files: GLOB_TESTS,
|
|
11947
|
-
name: "jsse
|
|
12034
|
+
name: "jsse/unicorn/tests",
|
|
11948
12035
|
rules: {
|
|
11949
12036
|
"unicorn/no-null": "off",
|
|
11950
12037
|
"unicorn/no-unused-properties": "off"
|
|
@@ -11959,14 +12046,14 @@ var vitest = async (options = {}) => {
|
|
|
11959
12046
|
const pluginVitest = await interopDefault2(import("eslint-plugin-vitest"));
|
|
11960
12047
|
return [
|
|
11961
12048
|
{
|
|
11962
|
-
name: "jsse
|
|
12049
|
+
name: "jsse/vitest/setup",
|
|
11963
12050
|
plugins: {
|
|
11964
12051
|
vitest: pluginVitest
|
|
11965
12052
|
}
|
|
11966
12053
|
},
|
|
11967
12054
|
{
|
|
11968
12055
|
files: GLOB_TESTS,
|
|
11969
|
-
name: "jsse
|
|
12056
|
+
name: "jsse/vitest/rules",
|
|
11970
12057
|
rules: {
|
|
11971
12058
|
"vitest/consistent-test-it": [
|
|
11972
12059
|
"error",
|
|
@@ -11996,7 +12083,7 @@ var yml = async (options) => {
|
|
|
11996
12083
|
]);
|
|
11997
12084
|
return [
|
|
11998
12085
|
{
|
|
11999
|
-
name: "jsse
|
|
12086
|
+
name: "jsse/yaml/setup",
|
|
12000
12087
|
plugins: {
|
|
12001
12088
|
yaml: pluginYaml
|
|
12002
12089
|
}
|
|
@@ -12006,7 +12093,7 @@ var yml = async (options) => {
|
|
|
12006
12093
|
languageOptions: {
|
|
12007
12094
|
parser: parserYaml
|
|
12008
12095
|
},
|
|
12009
|
-
name: "antfu:yaml
|
|
12096
|
+
name: "antfu:yaml/rules",
|
|
12010
12097
|
rules: {
|
|
12011
12098
|
"style/spaced-comment": "off",
|
|
12012
12099
|
"yaml/block-mapping": "error",
|
|
@@ -12174,7 +12261,7 @@ async function jsse(options = {}, ...userConfigs) {
|
|
|
12174
12261
|
react: enableReact,
|
|
12175
12262
|
typeAware
|
|
12176
12263
|
});
|
|
12177
|
-
configs.push(tscfg);
|
|
12264
|
+
configs.push(tscfg, tsdoc());
|
|
12178
12265
|
}
|
|
12179
12266
|
if (normalizedOptions.markdown) {
|
|
12180
12267
|
configs.push(markdown());
|
|
@@ -12265,9 +12352,9 @@ async function jsse(options = {}, ...userConfigs) {
|
|
|
12265
12352
|
}
|
|
12266
12353
|
if (normalizedOptions.rootId !== "jsse") {
|
|
12267
12354
|
combinedConfigs.forEach((config) => {
|
|
12268
|
-
if (config.name && config.name.startsWith("jsse
|
|
12355
|
+
if (config.name && config.name.startsWith("jsse/")) {
|
|
12269
12356
|
config.name = config.name.replace(
|
|
12270
|
-
"jsse
|
|
12357
|
+
"jsse/",
|
|
12271
12358
|
`${normalizedOptions.rootId}:`
|
|
12272
12359
|
);
|
|
12273
12360
|
}
|
|
@@ -12342,6 +12429,7 @@ function jsseReact() {
|
|
|
12342
12429
|
importPluginReactRefresh,
|
|
12343
12430
|
importPluginStylistic,
|
|
12344
12431
|
importPluginTailwind,
|
|
12432
|
+
importPluginTsdoc,
|
|
12345
12433
|
importReactPlugins,
|
|
12346
12434
|
importYmlLibs,
|
|
12347
12435
|
interopDefault,
|