@jsse/eslint-config 0.4.26 → 0.4.28
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 +28 -207
- package/dist/index.js +2 -9
- package/dist/{version-BLrZTyT6.js → version-BzlliPF3.js} +1 -1
- package/package.json +21 -21
package/CHANGELOG.md
CHANGED
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -15,13 +15,10 @@ import * as _stylistic_eslint_plugin0 from "@stylistic/eslint-plugin";
|
|
|
15
15
|
import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
|
|
16
16
|
import * as eslint_plugin_react0 from "eslint-plugin-react";
|
|
17
17
|
import * as jsonc_eslint_parser0 from "jsonc-eslint-parser";
|
|
18
|
-
import * as yaml_eslint_parser0 from "yaml-eslint-parser";
|
|
19
18
|
import * as eslint0 from "eslint";
|
|
20
19
|
import { Linter, Rule } from "eslint";
|
|
21
20
|
import * as eslint_plugin_jsonc_meta0 from "eslint-plugin-jsonc/meta";
|
|
22
21
|
import * as eslint_plugin_jsonc_types0 from "eslint-plugin-jsonc/types";
|
|
23
|
-
import * as eslint_plugin_yml_lib_meta_js0 from "eslint-plugin-yml/lib/meta.js";
|
|
24
|
-
import * as eslint_plugin_yml_lib_types_js0 from "eslint-plugin-yml/lib/types.js";
|
|
25
22
|
|
|
26
23
|
//#region src/generated/dts/builtins.d.ts
|
|
27
24
|
interface BuiltinsRuleOptions {
|
|
@@ -3334,6 +3331,9 @@ type UnusedImportsNoUnusedImports = [] | [("all" | "local") | {
|
|
|
3334
3331
|
caughtErrors?: "all" | "none";
|
|
3335
3332
|
caughtErrorsIgnorePattern?: string;
|
|
3336
3333
|
destructuredArrayIgnorePattern?: string;
|
|
3334
|
+
enableAutofixRemoval?: {
|
|
3335
|
+
imports?: boolean;
|
|
3336
|
+
};
|
|
3337
3337
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
3338
3338
|
ignoreRestSiblings?: boolean;
|
|
3339
3339
|
ignoreUsingDeclarations?: boolean;
|
|
@@ -3348,6 +3348,9 @@ type UnusedImportsNoUnusedVars = [] | [("all" | "local") | {
|
|
|
3348
3348
|
caughtErrors?: "all" | "none";
|
|
3349
3349
|
caughtErrorsIgnorePattern?: string;
|
|
3350
3350
|
destructuredArrayIgnorePattern?: string;
|
|
3351
|
+
enableAutofixRemoval?: {
|
|
3352
|
+
imports?: boolean;
|
|
3353
|
+
};
|
|
3351
3354
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
3352
3355
|
ignoreRestSiblings?: boolean;
|
|
3353
3356
|
ignoreUsingDeclarations?: boolean;
|
|
@@ -4032,6 +4035,7 @@ type JsdocRequireHyphenBeforeParamDescription = [] | ["always" | "never"] | ["al
|
|
|
4032
4035
|
}];
|
|
4033
4036
|
// ----- jsdoc/require-jsdoc -----
|
|
4034
4037
|
type JsdocRequireJsdoc = [] | [{
|
|
4038
|
+
checkAllFunctionExpressions?: boolean;
|
|
4035
4039
|
checkConstructors?: boolean;
|
|
4036
4040
|
checkGetters?: boolean | "no-setter";
|
|
4037
4041
|
checkSetters?: boolean | "no-getter";
|
|
@@ -9707,6 +9711,7 @@ interface StylisticRuleOptions {
|
|
|
9707
9711
|
/**
|
|
9708
9712
|
* Enforce props alphabetical sorting
|
|
9709
9713
|
* @see https://eslint.style/rules/jsx-sort-props
|
|
9714
|
+
* @deprecated
|
|
9710
9715
|
*/
|
|
9711
9716
|
"@stylistic/jsx-sort-props"?: Linter.RuleEntry<StylisticJsxSortProps>;
|
|
9712
9717
|
/**
|
|
@@ -11208,7 +11213,7 @@ type StylisticTypeAnnotationSpacing = [] | [{
|
|
|
11208
11213
|
after?: boolean;
|
|
11209
11214
|
overrides?: {
|
|
11210
11215
|
colon?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
11211
|
-
arrow?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
11216
|
+
arrow?: "ignore" | _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
11212
11217
|
variable?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
11213
11218
|
parameter?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
11214
11219
|
property?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
@@ -12121,6 +12126,11 @@ interface TypescriptRuleOptions {
|
|
|
12121
12126
|
* @see https://typescript-eslint.io/rules/strict-boolean-expressions
|
|
12122
12127
|
*/
|
|
12123
12128
|
"@typescript-eslint/strict-boolean-expressions"?: Linter.RuleEntry<TypescriptEslintStrictBooleanExpressions>;
|
|
12129
|
+
/**
|
|
12130
|
+
* Disallow passing a value-returning function in a position accepting a void function
|
|
12131
|
+
* @see https://typescript-eslint.io/rules/strict-void-return
|
|
12132
|
+
*/
|
|
12133
|
+
"@typescript-eslint/strict-void-return"?: Linter.RuleEntry<TypescriptEslintStrictVoidReturn>;
|
|
12124
12134
|
/**
|
|
12125
12135
|
* Require switch-case statements to be exhaustive
|
|
12126
12136
|
* @see https://typescript-eslint.io/rules/switch-exhaustiveness-check
|
|
@@ -12915,6 +12925,9 @@ type TypescriptEslintNoUnusedVars = [] | [("all" | "local") | {
|
|
|
12915
12925
|
caughtErrors?: "all" | "none";
|
|
12916
12926
|
caughtErrorsIgnorePattern?: string;
|
|
12917
12927
|
destructuredArrayIgnorePattern?: string;
|
|
12928
|
+
enableAutofixRemoval?: {
|
|
12929
|
+
imports?: boolean;
|
|
12930
|
+
};
|
|
12918
12931
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
12919
12932
|
ignoreRestSiblings?: boolean;
|
|
12920
12933
|
ignoreUsingDeclarations?: boolean;
|
|
@@ -13115,6 +13128,10 @@ type TypescriptEslintStrictBooleanExpressions = [] | [{
|
|
|
13115
13128
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
13116
13129
|
allowString?: boolean;
|
|
13117
13130
|
}];
|
|
13131
|
+
// ----- @typescript-eslint/strict-void-return -----
|
|
13132
|
+
type TypescriptEslintStrictVoidReturn = [] | [{
|
|
13133
|
+
allowReturnAny?: boolean;
|
|
13134
|
+
}];
|
|
13118
13135
|
// ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
13119
13136
|
type TypescriptEslintSwitchExhaustivenessCheck = [] | [{
|
|
13120
13137
|
allowDefaultCaseForExhaustiveSwitch?: boolean;
|
|
@@ -14485,6 +14502,11 @@ interface VitestRuleOptions {
|
|
|
14485
14502
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
|
|
14486
14503
|
*/
|
|
14487
14504
|
"vitest/require-mock-type-parameters"?: Linter.RuleEntry<VitestRequireMockTypeParameters>;
|
|
14505
|
+
/**
|
|
14506
|
+
* require tests to declare a timeout
|
|
14507
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-test-timeout.md
|
|
14508
|
+
*/
|
|
14509
|
+
"vitest/require-test-timeout"?: Linter.RuleEntry<[]>;
|
|
14488
14510
|
/**
|
|
14489
14511
|
* require toThrow() to be called with an error message
|
|
14490
14512
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
|
|
@@ -15305,7 +15327,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
|
|
|
15305
15327
|
type DefineConfig = typeof defineConfig;
|
|
15306
15328
|
//#endregion
|
|
15307
15329
|
//#region src/generated/version.d.ts
|
|
15308
|
-
declare const VERSION = "0.4.
|
|
15330
|
+
declare const VERSION = "0.4.28";
|
|
15309
15331
|
declare namespace globs_d_exports {
|
|
15310
15332
|
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 };
|
|
15311
15333
|
}
|
|
@@ -16373,207 +16395,6 @@ declare function importJsoncLibs(): Promise<{
|
|
|
16373
16395
|
getStaticJSONValue: typeof jsonc_eslint_parser0.getStaticJSONValue;
|
|
16374
16396
|
};
|
|
16375
16397
|
}>;
|
|
16376
|
-
declare function importYmlLibs(): Promise<{
|
|
16377
|
-
parserYaml: typeof yaml_eslint_parser0;
|
|
16378
|
-
pluginYaml: {
|
|
16379
|
-
meta: typeof eslint_plugin_yml_lib_meta_js0;
|
|
16380
|
-
configs: {
|
|
16381
|
-
base: {
|
|
16382
|
-
plugins: string[];
|
|
16383
|
-
overrides: {
|
|
16384
|
-
files: string[];
|
|
16385
|
-
parser: string;
|
|
16386
|
-
rules: {
|
|
16387
|
-
"no-irregular-whitespace": string;
|
|
16388
|
-
"no-unused-vars": string;
|
|
16389
|
-
"spaced-comment": string;
|
|
16390
|
-
};
|
|
16391
|
-
}[];
|
|
16392
|
-
};
|
|
16393
|
-
recommended: {
|
|
16394
|
-
extends: string[];
|
|
16395
|
-
rules: {
|
|
16396
|
-
"yml/no-empty-document": string;
|
|
16397
|
-
"yml/no-empty-key": string;
|
|
16398
|
-
"yml/no-empty-mapping-value": string;
|
|
16399
|
-
"yml/no-empty-sequence-entry": string;
|
|
16400
|
-
"yml/no-irregular-whitespace": string;
|
|
16401
|
-
"yml/no-tab-indent": string;
|
|
16402
|
-
"yml/vue-custom-block/no-parsing-error": string;
|
|
16403
|
-
};
|
|
16404
|
-
};
|
|
16405
|
-
standard: {
|
|
16406
|
-
extends: string[];
|
|
16407
|
-
rules: {
|
|
16408
|
-
"yml/block-mapping-question-indicator-newline": string;
|
|
16409
|
-
"yml/block-mapping": string;
|
|
16410
|
-
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
16411
|
-
"yml/block-sequence": string;
|
|
16412
|
-
"yml/flow-mapping-curly-newline": string;
|
|
16413
|
-
"yml/flow-mapping-curly-spacing": string;
|
|
16414
|
-
"yml/flow-sequence-bracket-newline": string;
|
|
16415
|
-
"yml/flow-sequence-bracket-spacing": string;
|
|
16416
|
-
"yml/indent": string;
|
|
16417
|
-
"yml/key-spacing": string;
|
|
16418
|
-
"yml/no-empty-document": string;
|
|
16419
|
-
"yml/no-empty-key": string;
|
|
16420
|
-
"yml/no-empty-mapping-value": string;
|
|
16421
|
-
"yml/no-empty-sequence-entry": string;
|
|
16422
|
-
"yml/no-irregular-whitespace": string;
|
|
16423
|
-
"yml/no-tab-indent": string;
|
|
16424
|
-
"yml/plain-scalar": string;
|
|
16425
|
-
"yml/quotes": string;
|
|
16426
|
-
"yml/spaced-comment": string;
|
|
16427
|
-
"yml/vue-custom-block/no-parsing-error": string;
|
|
16428
|
-
};
|
|
16429
|
-
};
|
|
16430
|
-
prettier: {
|
|
16431
|
-
extends: string[];
|
|
16432
|
-
rules: {
|
|
16433
|
-
"yml/block-mapping-colon-indicator-newline": string;
|
|
16434
|
-
"yml/block-mapping-question-indicator-newline": string;
|
|
16435
|
-
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
16436
|
-
"yml/flow-mapping-curly-newline": string;
|
|
16437
|
-
"yml/flow-mapping-curly-spacing": string;
|
|
16438
|
-
"yml/flow-sequence-bracket-newline": string;
|
|
16439
|
-
"yml/flow-sequence-bracket-spacing": string;
|
|
16440
|
-
"yml/indent": string;
|
|
16441
|
-
"yml/key-spacing": string;
|
|
16442
|
-
"yml/no-multiple-empty-lines": string;
|
|
16443
|
-
"yml/no-trailing-zeros": string;
|
|
16444
|
-
"yml/quotes": string;
|
|
16445
|
-
};
|
|
16446
|
-
};
|
|
16447
|
-
"flat/base": ({
|
|
16448
|
-
plugins: {
|
|
16449
|
-
readonly yml: eslint0.ESLint.Plugin;
|
|
16450
|
-
};
|
|
16451
|
-
files?: undefined;
|
|
16452
|
-
languageOptions?: undefined;
|
|
16453
|
-
rules?: undefined;
|
|
16454
|
-
} | {
|
|
16455
|
-
files: string[];
|
|
16456
|
-
languageOptions: {
|
|
16457
|
-
parser: typeof yaml_eslint_parser0;
|
|
16458
|
-
};
|
|
16459
|
-
rules: {
|
|
16460
|
-
"no-irregular-whitespace": "off";
|
|
16461
|
-
"no-unused-vars": "off";
|
|
16462
|
-
"spaced-comment": "off";
|
|
16463
|
-
};
|
|
16464
|
-
plugins?: undefined;
|
|
16465
|
-
})[];
|
|
16466
|
-
"flat/recommended": ({
|
|
16467
|
-
plugins: {
|
|
16468
|
-
readonly yml: eslint0.ESLint.Plugin;
|
|
16469
|
-
};
|
|
16470
|
-
files?: undefined;
|
|
16471
|
-
languageOptions?: undefined;
|
|
16472
|
-
rules?: undefined;
|
|
16473
|
-
} | {
|
|
16474
|
-
files: string[];
|
|
16475
|
-
languageOptions: {
|
|
16476
|
-
parser: typeof yaml_eslint_parser0;
|
|
16477
|
-
};
|
|
16478
|
-
rules: {
|
|
16479
|
-
"no-irregular-whitespace": "off";
|
|
16480
|
-
"no-unused-vars": "off";
|
|
16481
|
-
"spaced-comment": "off";
|
|
16482
|
-
};
|
|
16483
|
-
plugins?: undefined;
|
|
16484
|
-
} | {
|
|
16485
|
-
rules: {
|
|
16486
|
-
"yml/no-empty-document": "error";
|
|
16487
|
-
"yml/no-empty-key": "error";
|
|
16488
|
-
"yml/no-empty-mapping-value": "error";
|
|
16489
|
-
"yml/no-empty-sequence-entry": "error";
|
|
16490
|
-
"yml/no-irregular-whitespace": "error";
|
|
16491
|
-
"yml/no-tab-indent": "error";
|
|
16492
|
-
"yml/vue-custom-block/no-parsing-error": "error";
|
|
16493
|
-
};
|
|
16494
|
-
})[];
|
|
16495
|
-
"flat/standard": ({
|
|
16496
|
-
plugins: {
|
|
16497
|
-
readonly yml: eslint0.ESLint.Plugin;
|
|
16498
|
-
};
|
|
16499
|
-
files?: undefined;
|
|
16500
|
-
languageOptions?: undefined;
|
|
16501
|
-
rules?: undefined;
|
|
16502
|
-
} | {
|
|
16503
|
-
files: string[];
|
|
16504
|
-
languageOptions: {
|
|
16505
|
-
parser: typeof yaml_eslint_parser0;
|
|
16506
|
-
};
|
|
16507
|
-
rules: {
|
|
16508
|
-
"no-irregular-whitespace": "off";
|
|
16509
|
-
"no-unused-vars": "off";
|
|
16510
|
-
"spaced-comment": "off";
|
|
16511
|
-
};
|
|
16512
|
-
plugins?: undefined;
|
|
16513
|
-
} | {
|
|
16514
|
-
rules: {
|
|
16515
|
-
"yml/block-mapping-question-indicator-newline": "error";
|
|
16516
|
-
"yml/block-mapping": "error";
|
|
16517
|
-
"yml/block-sequence-hyphen-indicator-newline": "error";
|
|
16518
|
-
"yml/block-sequence": "error";
|
|
16519
|
-
"yml/flow-mapping-curly-newline": "error";
|
|
16520
|
-
"yml/flow-mapping-curly-spacing": "error";
|
|
16521
|
-
"yml/flow-sequence-bracket-newline": "error";
|
|
16522
|
-
"yml/flow-sequence-bracket-spacing": "error";
|
|
16523
|
-
"yml/indent": "error";
|
|
16524
|
-
"yml/key-spacing": "error";
|
|
16525
|
-
"yml/no-empty-document": "error";
|
|
16526
|
-
"yml/no-empty-key": "error";
|
|
16527
|
-
"yml/no-empty-mapping-value": "error";
|
|
16528
|
-
"yml/no-empty-sequence-entry": "error";
|
|
16529
|
-
"yml/no-irregular-whitespace": "error";
|
|
16530
|
-
"yml/no-tab-indent": "error";
|
|
16531
|
-
"yml/plain-scalar": "error";
|
|
16532
|
-
"yml/quotes": "error";
|
|
16533
|
-
"yml/spaced-comment": "error";
|
|
16534
|
-
"yml/vue-custom-block/no-parsing-error": "error";
|
|
16535
|
-
};
|
|
16536
|
-
})[];
|
|
16537
|
-
"flat/prettier": ({
|
|
16538
|
-
plugins: {
|
|
16539
|
-
readonly yml: eslint0.ESLint.Plugin;
|
|
16540
|
-
};
|
|
16541
|
-
files?: undefined;
|
|
16542
|
-
languageOptions?: undefined;
|
|
16543
|
-
rules?: undefined;
|
|
16544
|
-
} | {
|
|
16545
|
-
files: string[];
|
|
16546
|
-
languageOptions: {
|
|
16547
|
-
parser: typeof yaml_eslint_parser0;
|
|
16548
|
-
};
|
|
16549
|
-
rules: {
|
|
16550
|
-
"no-irregular-whitespace": "off";
|
|
16551
|
-
"no-unused-vars": "off";
|
|
16552
|
-
"spaced-comment": "off";
|
|
16553
|
-
};
|
|
16554
|
-
plugins?: undefined;
|
|
16555
|
-
} | {
|
|
16556
|
-
rules: {
|
|
16557
|
-
"yml/block-mapping-colon-indicator-newline": "off";
|
|
16558
|
-
"yml/block-mapping-question-indicator-newline": "off";
|
|
16559
|
-
"yml/block-sequence-hyphen-indicator-newline": "off";
|
|
16560
|
-
"yml/flow-mapping-curly-newline": "off";
|
|
16561
|
-
"yml/flow-mapping-curly-spacing": "off";
|
|
16562
|
-
"yml/flow-sequence-bracket-newline": "off";
|
|
16563
|
-
"yml/flow-sequence-bracket-spacing": "off";
|
|
16564
|
-
"yml/indent": "off";
|
|
16565
|
-
"yml/key-spacing": "off";
|
|
16566
|
-
"yml/no-multiple-empty-lines": "off";
|
|
16567
|
-
"yml/no-trailing-zeros": "off";
|
|
16568
|
-
"yml/quotes": "off";
|
|
16569
|
-
};
|
|
16570
|
-
})[];
|
|
16571
|
-
};
|
|
16572
|
-
rules: {
|
|
16573
|
-
[key: string]: eslint_plugin_yml_lib_types_js0.RuleModule;
|
|
16574
|
-
};
|
|
16575
|
-
};
|
|
16576
|
-
}>;
|
|
16577
16398
|
declare function importPluginMarkdown(): Promise<{
|
|
16578
16399
|
pluginMarkdown: typeof _eslint_markdown0.default;
|
|
16579
16400
|
}>;
|
|
@@ -16664,4 +16485,4 @@ declare function changeRuleEntrySeverity(ruleConfig: Linter.RuleEntry<any>, leve
|
|
|
16664
16485
|
declare function error2warn<T extends Config>(configs: T[]): T[];
|
|
16665
16486
|
declare function warn2error<T extends Config>(configs: T[]): T[];
|
|
16666
16487
|
//#endregion
|
|
16667
|
-
export { Awaitable, Config, EslintConfigFn, LanguageOptions, OptionsCommon, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsPrefix, OptionsReact, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, RenamePefix, RuleName, SLOW_RULES, StylisticConfig, TailwindEslintSettings, TailwindOptions, TypedFlatConfigItemWithId, UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_d_exports as globs, importJsoncLibs, importParserJsonc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc,
|
|
16488
|
+
export { Awaitable, Config, EslintConfigFn, LanguageOptions, OptionsCommon, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsPrefix, OptionsReact, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, RenamePefix, RuleName, SLOW_RULES, StylisticConfig, TailwindEslintSettings, TailwindOptions, TypedFlatConfigItemWithId, UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_d_exports as globs, importJsoncLibs, importParserJsonc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, interopDefault, isCI, isInEditor, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-VnP9fmST.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-BzlliPF3.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";
|
|
@@ -12871,13 +12871,6 @@ async function importJsoncLibs() {
|
|
|
12871
12871
|
pluginJsonc
|
|
12872
12872
|
};
|
|
12873
12873
|
}
|
|
12874
|
-
async function importYmlLibs() {
|
|
12875
|
-
const [pluginYaml, parserYaml] = await Promise.all([interopDefault(import("eslint-plugin-yml")), interopDefault(import("yaml-eslint-parser"))]);
|
|
12876
|
-
return {
|
|
12877
|
-
parserYaml,
|
|
12878
|
-
pluginYaml
|
|
12879
|
-
};
|
|
12880
|
-
}
|
|
12881
12874
|
async function importPluginMarkdown() {
|
|
12882
12875
|
const pluginMarkdown = await interopDefault(import("@eslint/markdown"));
|
|
12883
12876
|
return { pluginMarkdown };
|
|
@@ -19307,4 +19300,4 @@ const presetAll = makePresetFn([
|
|
|
19307
19300
|
]);
|
|
19308
19301
|
|
|
19309
19302
|
//#endregion
|
|
19310
|
-
export { SLOW_RULES, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_exports as globs, importJsoncLibs, importParserJsonc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc,
|
|
19303
|
+
export { SLOW_RULES, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_exports as globs, importJsoncLibs, importParserJsonc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, interopDefault, isCI, isInEditor, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
|
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.28",
|
|
5
5
|
"description": "@jsse/eslint-config ~ WYSIWYG",
|
|
6
6
|
"author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -60,47 +60,47 @@
|
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.
|
|
63
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
|
|
64
64
|
"@eslint/compat": "^2.0.0",
|
|
65
65
|
"@eslint/js": "^9.39.2",
|
|
66
66
|
"@eslint/markdown": "^7.5.1",
|
|
67
|
-
"@stylistic/eslint-plugin": "5.
|
|
68
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
69
|
-
"@typescript-eslint/parser": "^8.
|
|
70
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
67
|
+
"@stylistic/eslint-plugin": "5.7.0",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
|
69
|
+
"@typescript-eslint/parser": "^8.53.1",
|
|
70
|
+
"@vitest/eslint-plugin": "^1.6.6",
|
|
71
71
|
"debug": "^4.4.3",
|
|
72
72
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
73
73
|
"eslint-merge-processors": "^2.0.0",
|
|
74
|
-
"eslint-plugin-antfu": "^3.1.
|
|
74
|
+
"eslint-plugin-antfu": "^3.1.3",
|
|
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": "^
|
|
78
|
+
"eslint-plugin-jsdoc": "^62.2.0",
|
|
79
79
|
"eslint-plugin-jsonc": "^2.21.0",
|
|
80
|
-
"eslint-plugin-n": "^17.23.
|
|
80
|
+
"eslint-plugin-n": "^17.23.2",
|
|
81
81
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
82
|
-
"eslint-plugin-perfectionist": "^5.3.
|
|
83
|
-
"eslint-plugin-pnpm": "^1.
|
|
82
|
+
"eslint-plugin-perfectionist": "^5.3.1",
|
|
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
86
|
"eslint-plugin-react-refresh": "^0.4.26",
|
|
87
|
-
"eslint-plugin-toml": "^0.
|
|
87
|
+
"eslint-plugin-toml": "^1.0.3",
|
|
88
88
|
"eslint-plugin-tsdoc": "^0.5.0",
|
|
89
89
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
90
90
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
91
|
-
"eslint-plugin-yml": "^
|
|
91
|
+
"eslint-plugin-yml": "^3.0.0",
|
|
92
92
|
"jsonc-eslint-parser": "^2.4.2",
|
|
93
|
-
"toml-eslint-parser": "^0.
|
|
94
|
-
"typescript-eslint": "^8.
|
|
95
|
-
"yaml-eslint-parser": "^
|
|
93
|
+
"toml-eslint-parser": "^1.0.3",
|
|
94
|
+
"typescript-eslint": "^8.53.1",
|
|
95
|
+
"yaml-eslint-parser": "^2.0.0"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@changesets/cli": "^2.29.8",
|
|
99
|
-
"@jsse/prettier-config": "^1.0.
|
|
99
|
+
"@jsse/prettier-config": "^1.0.2",
|
|
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": "^
|
|
103
|
+
"@types/node": "^25.0.9",
|
|
104
104
|
"cac": "^6.7.14",
|
|
105
105
|
"eslint": "^9.39.2",
|
|
106
106
|
"eslint-flat-config-utils": "^2.1.4",
|
|
@@ -110,15 +110,15 @@
|
|
|
110
110
|
"fs-extra": "^11.3.3",
|
|
111
111
|
"globals": "^17.0.0",
|
|
112
112
|
"local-pkg": "^1.1.2",
|
|
113
|
-
"oxlint": "^1.
|
|
113
|
+
"oxlint": "^1.41.0",
|
|
114
114
|
"picocolors": "^1.1.1",
|
|
115
|
-
"prettier": "^3.
|
|
115
|
+
"prettier": "^3.8.0",
|
|
116
116
|
"react": "~19.2.3",
|
|
117
117
|
"rimraf": "^6.1.2",
|
|
118
118
|
"tsdown": "^0.18.4",
|
|
119
119
|
"tsx": "^4.21.0",
|
|
120
120
|
"typescript": "~5.9.3",
|
|
121
|
-
"vitest": "^4.0.
|
|
121
|
+
"vitest": "^4.0.17"
|
|
122
122
|
},
|
|
123
123
|
"prettier": "@jsse/prettier-config",
|
|
124
124
|
"scripts": {
|