@jsse/eslint-config 0.4.18 → 0.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @jsse/eslint-config
2
2
 
3
+ ## 0.4.19
4
+
5
+ ### Patch Changes
6
+
7
+ - update deps
8
+
3
9
  ## 0.4.18
4
10
 
5
11
  ### Patch Changes
@@ -34,4 +34,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
34
34
  }) : target, mod));
35
35
 
36
36
  //#endregion
37
- export { __commonJS, __export, __toESM };
37
+ export { __export as n, __toESM as r, __commonJS as t };
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { DEBUG, VERSION } from "./version-DUk8d3C_.js";
1
+ import { n as DEBUG, t as VERSION } from "./version-Cp29RKMJ.js";
2
2
  import fs from "node:fs";
3
3
  import process$1 from "node:process";
4
4
  import { EventEmitter } from "events";
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { n as __export } from "./chunk-kxGw7zjC.js";
1
2
  import pluginEslintComments from "@eslint-community/eslint-plugin-eslint-comments";
2
3
  import pluginTs from "@typescript-eslint/eslint-plugin";
3
4
  import * as parserTs from "@typescript-eslint/parser";
@@ -13,7 +14,6 @@ import pluginUnusedImports from "eslint-plugin-unused-imports";
13
14
  import * as _eslint_markdown0 from "@eslint/markdown";
14
15
  import * as _stylistic_eslint_plugin0 from "@stylistic/eslint-plugin";
15
16
  import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
16
- import * as eslint_plugin_jsdoc0 from "eslint-plugin-jsdoc";
17
17
  import * as eslint_plugin_react0 from "eslint-plugin-react";
18
18
  import * as eslint_plugin_react_hooks0 from "eslint-plugin-react-hooks";
19
19
  import * as jsonc_eslint_parser0 from "jsonc-eslint-parser";
@@ -7279,6 +7279,7 @@ type PnpmJsonValidCatalog = [] | [{
7279
7279
  // ----- pnpm/yaml-no-duplicate-catalog-item -----
7280
7280
  type PnpmYamlNoDuplicateCatalogItem = [] | [{
7281
7281
  allow?: string[];
7282
+ checkDuplicates?: "name-only" | "exact-version";
7282
7283
  }];
7283
7284
  //#endregion
7284
7285
  //#region src/generated/dts/prettier.d.ts
@@ -8832,6 +8833,11 @@ interface StylisticRuleOptions {
8832
8833
  * @see https://eslint.style/rules/eol-last
8833
8834
  */
8834
8835
  "@stylistic/eol-last"?: Linter.RuleEntry<StylisticEolLast>;
8836
+ /**
8837
+ * Enforce consistent spacing and line break styles inside brackets.
8838
+ * @see https://eslint.style/rules/list-style
8839
+ */
8840
+ "@stylistic/exp-list-style"?: Linter.RuleEntry<StylisticExpListStyle>;
8835
8841
  /**
8836
8842
  * Enforce line breaks between arguments of a function call
8837
8843
  * @see https://eslint.style/rules/function-call-argument-newline
@@ -9422,6 +9428,50 @@ type StylisticCurlyNewline = [] | [("always" | "never") | {
9422
9428
  type StylisticDotLocation = [] | ["object" | "property"];
9423
9429
  // ----- @stylistic/eol-last -----
9424
9430
  type StylisticEolLast = [] | ["always" | "never" | "unix" | "windows"];
9431
+ // ----- @stylistic/exp-list-style -----
9432
+ type StylisticExpListStyle = [] | [{
9433
+ singleLine?: _StylisticExpListStyle_SingleLineConfig;
9434
+ multiLine?: _StylisticExpListStyle_MultiLineConfig;
9435
+ overrides?: {
9436
+ "[]"?: _StylisticExpListStyle_BaseConfig;
9437
+ "{}"?: _StylisticExpListStyle_BaseConfig;
9438
+ "<>"?: _StylisticExpListStyle_BaseConfig;
9439
+ "()"?: _StylisticExpListStyle_BaseConfig;
9440
+ ArrayExpression?: _StylisticExpListStyle_BaseConfig;
9441
+ ArrayPattern?: _StylisticExpListStyle_BaseConfig;
9442
+ ArrowFunctionExpression?: _StylisticExpListStyle_BaseConfig;
9443
+ CallExpression?: _StylisticExpListStyle_BaseConfig;
9444
+ ExportNamedDeclaration?: _StylisticExpListStyle_BaseConfig;
9445
+ FunctionDeclaration?: _StylisticExpListStyle_BaseConfig;
9446
+ FunctionExpression?: _StylisticExpListStyle_BaseConfig;
9447
+ ImportDeclaration?: _StylisticExpListStyle_BaseConfig;
9448
+ ImportAttributes?: _StylisticExpListStyle_BaseConfig;
9449
+ NewExpression?: _StylisticExpListStyle_BaseConfig;
9450
+ ObjectExpression?: _StylisticExpListStyle_BaseConfig;
9451
+ ObjectPattern?: _StylisticExpListStyle_BaseConfig;
9452
+ TSDeclareFunction?: _StylisticExpListStyle_BaseConfig;
9453
+ TSFunctionType?: _StylisticExpListStyle_BaseConfig;
9454
+ TSInterfaceBody?: _StylisticExpListStyle_BaseConfig;
9455
+ TSEnumBody?: _StylisticExpListStyle_BaseConfig;
9456
+ TSTupleType?: _StylisticExpListStyle_BaseConfig;
9457
+ TSTypeLiteral?: _StylisticExpListStyle_BaseConfig;
9458
+ TSTypeParameterDeclaration?: _StylisticExpListStyle_BaseConfig;
9459
+ TSTypeParameterInstantiation?: _StylisticExpListStyle_BaseConfig;
9460
+ JSONArrayExpression?: _StylisticExpListStyle_BaseConfig;
9461
+ JSONObjectExpression?: _StylisticExpListStyle_BaseConfig;
9462
+ };
9463
+ }];
9464
+ interface _StylisticExpListStyle_SingleLineConfig {
9465
+ spacing?: "always" | "never";
9466
+ maxItems?: number;
9467
+ }
9468
+ interface _StylisticExpListStyle_MultiLineConfig {
9469
+ minItems?: number;
9470
+ }
9471
+ interface _StylisticExpListStyle_BaseConfig {
9472
+ singleLine?: _StylisticExpListStyle_SingleLineConfig;
9473
+ multiline?: _StylisticExpListStyle_MultiLineConfig;
9474
+ }
9425
9475
  // ----- @stylistic/function-call-argument-newline -----
9426
9476
  type StylisticFunctionCallArgumentNewline = [] | ["always" | "never" | "consistent"];
9427
9477
  // ----- @stylistic/function-call-spacing -----
@@ -9491,7 +9541,11 @@ type StylisticIndent = [] | ["tab" | number] | ["tab" | number, {
9491
9541
  ObjectExpression?: number | ("first" | "off");
9492
9542
  ImportDeclaration?: number | ("first" | "off");
9493
9543
  flatTernaryExpressions?: boolean;
9494
- offsetTernaryExpressions?: boolean;
9544
+ offsetTernaryExpressions?: boolean | {
9545
+ CallExpression?: boolean;
9546
+ AwaitExpression?: boolean;
9547
+ NewExpression?: boolean;
9548
+ };
9495
9549
  offsetTernaryExpressionsOffsetCallExpressions?: boolean;
9496
9550
  ignoredNodes?: string[];
9497
9551
  ignoreComments?: boolean;
@@ -10292,6 +10346,7 @@ type StylisticObjectCurlySpacing = [] | ["always" | "never"] | ["always" | "neve
10292
10346
  TSInterfaceBody?: "always" | "never";
10293
10347
  TSEnumBody?: "always" | "never";
10294
10348
  };
10349
+ emptyObjects?: "ignore" | "always" | "never";
10295
10350
  }];
10296
10351
  // ----- @stylistic/object-property-newline -----
10297
10352
  type StylisticObjectPropertyNewline = [] | [{
@@ -14428,7 +14483,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
14428
14483
  type DefineConfig = typeof defineConfig;
14429
14484
  //#endregion
14430
14485
  //#region src/generated/version.d.ts
14431
- declare const VERSION = "0.4.18";
14486
+ declare const VERSION = "0.4.19";
14432
14487
  declare namespace globs_d_exports {
14433
14488
  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 };
14434
14489
  }
@@ -14460,17 +14515,6 @@ declare const GLOB_ALL_SRC: string[];
14460
14515
  declare const GLOB_EXCLUDE: string[];
14461
14516
  //#endregion
14462
14517
  //#region src/plugins.d.ts
14463
- declare function importPluginUnicorn(): Promise<{
14464
- pluginUnicorn: eslint0.ESLint.Plugin & {
14465
- configs: {
14466
- recommended: eslint0.Linter.FlatConfig;
14467
- unopinionated: eslint0.Linter.FlatConfig;
14468
- all: eslint0.Linter.FlatConfig;
14469
- "flat/all": eslint0.Linter.FlatConfig;
14470
- "flat/recommended": eslint0.Linter.FlatConfig;
14471
- };
14472
- };
14473
- }>;
14474
14518
  declare function importPluginReact(): Promise<{
14475
14519
  pluginReact: {
14476
14520
  deprecatedRules: Partial<{
@@ -16017,11 +16061,6 @@ declare function importYmlLibs(): Promise<{
16017
16061
  declare function importPluginMarkdown(): Promise<{
16018
16062
  pluginMarkdown: typeof _eslint_markdown0.default;
16019
16063
  }>;
16020
- declare function importPluginJsdoc(): Promise<{
16021
- pluginJsdoc: eslint0.ESLint.Plugin & {
16022
- configs: Record<`flat/${eslint_plugin_jsdoc0.ConfigGroups}${eslint_plugin_jsdoc0.ConfigVariants}${eslint_plugin_jsdoc0.ErrorLevelVariants}`, eslint0.Linter.Config> & Record<"examples" | "default-expressions" | "examples-and-default-expressions", eslint0.Linter.Config[]> & Record<"flat/recommended-mixed", eslint0.Linter.Config[]>;
16023
- };
16024
- }>;
16025
16064
  declare function importPluginTsdoc(): Promise<{
16026
16065
  pluginTsdoc: {
16027
16066
  rules: {
@@ -16109,4 +16148,4 @@ declare function changeRuleEntrySeverity(ruleConfig: Linter.RuleEntry<any>, leve
16109
16148
  declare function error2warn<T extends Config>(configs: T[]): T[];
16110
16149
  declare function warn2error<T extends Config>(configs: T[]): T[];
16111
16150
  //#endregion
16112
- 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, defineConfig, error2warn, globs_d_exports as globs, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, importPluginUnicorn, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
16151
+ 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, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, importReactPlugins, importYmlLibs, 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
- import { __commonJS, __export, __toESM } from "./chunk-Bb8Gnt67.js";
2
- import { DEBUG, SLOW_RULES, VERSION } from "./version-DUk8d3C_.js";
1
+ import { n as __export, r as __toESM, t as __commonJS } from "./chunk-kxGw7zjC.js";
2
+ import { n as DEBUG, r as SLOW_RULES, t as VERSION } from "./version-Cp29RKMJ.js";
3
3
  import { builtinModules, createRequire } from "node:module";
4
4
  import fs, { promises, realpathSync, statSync } from "node:fs";
5
5
  import process$1 from "node:process";
@@ -12848,10 +12848,6 @@ function warn2error(configs) {
12848
12848
 
12849
12849
  //#endregion
12850
12850
  //#region src/plugins.ts
12851
- async function importPluginUnicorn() {
12852
- const pluginUnicorn$1 = await interopDefault(import("eslint-plugin-unicorn"));
12853
- return { pluginUnicorn: pluginUnicorn$1 };
12854
- }
12855
12851
  async function importPluginReact() {
12856
12852
  const pluginReact = await interopDefault(import("eslint-plugin-react"));
12857
12853
  return { pluginReact };
@@ -12902,10 +12898,6 @@ async function importPluginMarkdown() {
12902
12898
  const pluginMarkdown = await interopDefault(import("@eslint/markdown"));
12903
12899
  return { pluginMarkdown };
12904
12900
  }
12905
- async function importPluginJsdoc() {
12906
- const pluginJsdoc = await interopDefault(import("eslint-plugin-jsdoc"));
12907
- return { pluginJsdoc };
12908
- }
12909
12901
  async function importPluginTsdoc() {
12910
12902
  const pluginTsdoc = await interopDefault(import("eslint-plugin-tsdoc"));
12911
12903
  return { pluginTsdoc };
@@ -16651,7 +16643,7 @@ const javascript = async (options) => {
16651
16643
  //#endregion
16652
16644
  //#region src/configs/jsdoc.ts
16653
16645
  const jsdoc = async () => {
16654
- const { pluginJsdoc } = await importPluginJsdoc();
16646
+ const pluginJsdoc = await interopDefault(import("eslint-plugin-jsdoc"));
16655
16647
  return [{
16656
16648
  name: "jsse/jsdoc",
16657
16649
  plugins: { jsdoc: pluginJsdoc },
@@ -18661,4 +18653,4 @@ const presetAll = makePresetFn([
18661
18653
  ]);
18662
18654
 
18663
18655
  //#endregion
18664
- export { SLOW_RULES, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, defineConfig, error2warn, globs_exports as globs, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, importPluginUnicorn, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
18656
+ export { SLOW_RULES, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_exports as globs, importJsoncLibs, importParserJsonc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
@@ -33,7 +33,7 @@ const SLOW_RULES = [
33
33
 
34
34
  //#endregion
35
35
  //#region src/generated/version.ts
36
- const VERSION = "0.4.18";
36
+ const VERSION = "0.4.19";
37
37
 
38
38
  //#endregion
39
- export { DEBUG, SLOW_RULES, VERSION };
39
+ export { DEBUG as n, SLOW_RULES as r, VERSION as t };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jsse/eslint-config",
3
3
  "type": "module",
4
- "version": "0.4.18",
4
+ "version": "0.4.19",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -62,12 +62,12 @@
62
62
  "dependencies": {
63
63
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
64
64
  "@eslint/compat": "^1.4.0",
65
- "@eslint/js": "~9.37.0",
66
- "@eslint/markdown": "^7.4.0",
67
- "@stylistic/eslint-plugin": "5.4.0",
68
- "@typescript-eslint/eslint-plugin": "^8.46.1",
69
- "@typescript-eslint/parser": "^8.46.1",
70
- "@vitest/eslint-plugin": "^1.3.20",
65
+ "@eslint/js": "~9.38.0",
66
+ "@eslint/markdown": "^7.5.0",
67
+ "@stylistic/eslint-plugin": "5.5.0",
68
+ "@typescript-eslint/eslint-plugin": "^8.46.2",
69
+ "@typescript-eslint/parser": "^8.46.2",
70
+ "@vitest/eslint-plugin": "^1.3.23",
71
71
  "debug": "^4.4.3",
72
72
  "eslint-config-flat-gitignore": "^2.1.0",
73
73
  "eslint-merge-processors": "^2.0.0",
@@ -75,23 +75,23 @@
75
75
  "eslint-plugin-command": "^3.3.1",
76
76
  "eslint-plugin-de-morgan": "^2.0.0",
77
77
  "eslint-plugin-import-lite": "^0.3.0",
78
- "eslint-plugin-jsdoc": "^61.1.2",
78
+ "eslint-plugin-jsdoc": "^61.1.5",
79
79
  "eslint-plugin-jsonc": "^2.21.0",
80
80
  "eslint-plugin-n": "^17.23.1",
81
81
  "eslint-plugin-no-only-tests": "^3.3.0",
82
82
  "eslint-plugin-perfectionist": "^4.15.1",
83
- "eslint-plugin-pnpm": "^1.2.0",
83
+ "eslint-plugin-pnpm": "^1.3.0",
84
84
  "eslint-plugin-react": "^7.37.5",
85
85
  "eslint-plugin-react-hooks": "^7.0.0",
86
- "eslint-plugin-react-refresh": "^0.4.23",
86
+ "eslint-plugin-react-refresh": "^0.4.24",
87
87
  "eslint-plugin-toml": "^0.12.0",
88
88
  "eslint-plugin-tsdoc": "^0.4.0",
89
89
  "eslint-plugin-unicorn": "^61.0.2",
90
- "eslint-plugin-unused-imports": "^4.2.0",
90
+ "eslint-plugin-unused-imports": "^4.3.0",
91
91
  "eslint-plugin-yml": "^1.19.0",
92
92
  "jsonc-eslint-parser": "^2.4.1",
93
93
  "toml-eslint-parser": "^0.10.0",
94
- "typescript-eslint": "^8.46.1",
94
+ "typescript-eslint": "^8.46.2",
95
95
  "yaml-eslint-parser": "^1.3.0"
96
96
  },
97
97
  "devDependencies": {
@@ -100,9 +100,9 @@
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": "^24.7.2",
103
+ "@types/node": "^24.9.1",
104
104
  "cac": "^6.7.14",
105
- "eslint": "^9.37.0",
105
+ "eslint": "^9.38.0",
106
106
  "eslint-flat-config-utils": "^2.1.4",
107
107
  "eslint-typegen": "^2.3.0",
108
108
  "execa": "~9.6.0",
@@ -110,15 +110,15 @@
110
110
  "fs-extra": "^11.3.2",
111
111
  "globals": "^16.4.0",
112
112
  "local-pkg": "^1.1.2",
113
- "oxlint": "^1.23.0",
113
+ "oxlint": "^1.24.0",
114
114
  "picocolors": "^1.1.1",
115
115
  "prettier": "^3.6.2",
116
116
  "react": "~19.2.0",
117
117
  "rimraf": "^6.0.1",
118
- "tsdown": "^0.15.7",
118
+ "tsdown": "^0.15.9",
119
119
  "tsx": "^4.20.6",
120
120
  "typescript": "~5.9.3",
121
- "vitest": "^3.2.4"
121
+ "vitest": "^4.0.1"
122
122
  },
123
123
  "prettier": "@jsse/prettier-config",
124
124
  "scripts": {