@jsse/eslint-config 0.4.24 → 0.4.25

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.25
4
+
5
+ ### Patch Changes
6
+
7
+ - update dependencies
8
+
3
9
  ## 0.4.24
4
10
 
5
11
  ### Patch Changes
@@ -7,9 +7,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
7
  var __getOwnPropNames = Object.getOwnPropertyNames;
8
8
  var __getProtoOf = Object.getPrototypeOf;
9
9
  var __hasOwnProp = Object.prototype.hasOwnProperty;
10
- var __commonJS = (cb, mod) => function() {
11
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
- };
10
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
13
11
  var __export = (all, symbols) => {
14
12
  let target = {};
15
13
  for (var name in all) {
@@ -43,4 +41,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
43
41
  }) : target, mod));
44
42
 
45
43
  //#endregion
46
- export { __export as n, __toESM as r, __commonJS as t };
44
+ export { __export as n, __toESM as r, __commonJSMin as t };
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as DEBUG, t as VERSION } from "./version-BaLeOe0o.js";
1
+ import { n as DEBUG, t as VERSION } from "./version-B9ymZQwv.js";
2
2
  import process$1 from "node:process";
3
3
  import fs from "node:fs";
4
4
  import { EventEmitter } from "events";
package/dist/index.d.ts CHANGED
@@ -7252,6 +7252,11 @@ interface PnpmRuleOptions {
7252
7252
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-valid-catalog.test.ts
7253
7253
  */
7254
7254
  "pnpm/json-valid-catalog"?: Linter.RuleEntry<PnpmJsonValidCatalog>;
7255
+ /**
7256
+ * Enforce settings in `pnpm-workspace.yaml`
7257
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-enforce-settings.test.ts
7258
+ */
7259
+ "pnpm/yaml-enforce-settings"?: Linter.RuleEntry<PnpmYamlEnforceSettings>;
7255
7260
  /**
7256
7261
  * Disallow duplicate catalog items in `pnpm-workspace.yaml`
7257
7262
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
@@ -7291,6 +7296,15 @@ type PnpmJsonValidCatalog = [] | [{
7291
7296
  enforceNoConflict?: boolean;
7292
7297
  fields?: unknown[];
7293
7298
  }];
7299
+ // ----- pnpm/yaml-enforce-settings -----
7300
+ type PnpmYamlEnforceSettings = [] | [{
7301
+ autofix?: boolean;
7302
+ settings?: {
7303
+ [k: string]: unknown | undefined;
7304
+ };
7305
+ requiredFields?: string[];
7306
+ forbiddenFields?: string[];
7307
+ }];
7294
7308
  // ----- pnpm/yaml-no-duplicate-catalog-item -----
7295
7309
  type PnpmYamlNoDuplicateCatalogItem = [] | [{
7296
7310
  allow?: string[];
@@ -11219,6 +11233,11 @@ interface TypescriptRuleOptions {
11219
11233
  * @see https://typescript-eslint.io/rules/no-useless-constructor
11220
11234
  */
11221
11235
  "@typescript-eslint/no-useless-constructor"?: Linter.RuleEntry<[]>;
11236
+ /**
11237
+ * Disallow default values that will never be used
11238
+ * @see https://typescript-eslint.io/rules/no-useless-default-assignment
11239
+ */
11240
+ "@typescript-eslint/no-useless-default-assignment"?: Linter.RuleEntry<[]>;
11222
11241
  /**
11223
11242
  * Disallow empty exports that don't change anything in a module file
11224
11243
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
@@ -14544,7 +14563,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
14544
14563
  type DefineConfig = typeof defineConfig;
14545
14564
  //#endregion
14546
14565
  //#region src/generated/version.d.ts
14547
- declare const VERSION = "0.4.24";
14566
+ declare const VERSION = "0.4.25";
14548
14567
  declare namespace globs_d_exports {
14549
14568
  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 };
14550
14569
  }
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { n as __export, r as __toESM, t as __commonJS } from "./chunk-vqOwn_tu.js";
2
- import { n as DEBUG, r as SLOW_RULES, t as VERSION } from "./version-BaLeOe0o.js";
1
+ import { n as __export, r as __toESM, t as __commonJSMin } from "./chunk-bekqDN86.js";
2
+ import { n as DEBUG, r as SLOW_RULES, t as VERSION } from "./version-B9ymZQwv.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";
@@ -13076,7 +13076,7 @@ const imports = async (options) => {
13076
13076
 
13077
13077
  //#endregion
13078
13078
  //#region node_modules/.pnpm/globals@16.5.0/node_modules/globals/globals.json
13079
- var require_globals$1 = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/globals@16.5.0/node_modules/globals/globals.json": ((exports, module) => {
13079
+ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
13080
13080
  module.exports = {
13081
13081
  "amd": {
13082
13082
  "define": false,
@@ -16420,13 +16420,13 @@ var require_globals$1 = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/globals
16420
16420
  "YUI_config": false
16421
16421
  }
16422
16422
  };
16423
- }) });
16423
+ }));
16424
16424
 
16425
16425
  //#endregion
16426
16426
  //#region node_modules/.pnpm/globals@16.5.0/node_modules/globals/index.js
16427
- var require_globals = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/globals@16.5.0/node_modules/globals/index.js": ((exports, module) => {
16427
+ var require_globals = /* @__PURE__ */ __commonJSMin(((exports, module) => {
16428
16428
  module.exports = require_globals$1();
16429
- }) });
16429
+ }));
16430
16430
 
16431
16431
  //#endregion
16432
16432
  //#region src/configs/javascript.ts
@@ -36,7 +36,7 @@ const SLOW_RULES = [
36
36
 
37
37
  //#endregion
38
38
  //#region src/generated/version.ts
39
- const VERSION = "0.4.24";
39
+ const VERSION = "0.4.25";
40
40
 
41
41
  //#endregion
42
42
  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.24",
4
+ "version": "0.4.25",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -62,63 +62,63 @@
62
62
  "dependencies": {
63
63
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
64
64
  "@eslint/compat": "^2.0.0",
65
- "@eslint/js": "^9.39.1",
65
+ "@eslint/js": "^9.39.2",
66
66
  "@eslint/markdown": "^7.5.1",
67
67
  "@stylistic/eslint-plugin": "5.6.1",
68
- "@typescript-eslint/eslint-plugin": "^8.48.0",
69
- "@typescript-eslint/parser": "^8.48.0",
70
- "@vitest/eslint-plugin": "^1.4.4",
68
+ "@typescript-eslint/eslint-plugin": "^8.50.0",
69
+ "@typescript-eslint/parser": "^8.50.0",
70
+ "@vitest/eslint-plugin": "^1.5.2",
71
71
  "debug": "^4.4.3",
72
72
  "eslint-config-flat-gitignore": "^2.1.0",
73
73
  "eslint-merge-processors": "^2.0.0",
74
74
  "eslint-plugin-antfu": "^3.1.1",
75
- "eslint-plugin-command": "^3.3.1",
75
+ "eslint-plugin-command": "^3.4.0",
76
76
  "eslint-plugin-de-morgan": "^2.0.0",
77
77
  "eslint-plugin-import-lite": "^0.3.0",
78
- "eslint-plugin-jsdoc": "^61.4.1",
78
+ "eslint-plugin-jsdoc": "^61.5.0",
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.3.0",
83
+ "eslint-plugin-pnpm": "^1.4.3",
84
84
  "eslint-plugin-react": "^7.37.5",
85
85
  "eslint-plugin-react-hooks": "^7.0.1",
86
- "eslint-plugin-react-refresh": "^0.4.24",
86
+ "eslint-plugin-react-refresh": "^0.4.25",
87
87
  "eslint-plugin-toml": "^0.12.0",
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": "^1.19.0",
92
- "jsonc-eslint-parser": "^2.4.1",
93
- "toml-eslint-parser": "^0.10.0",
94
- "typescript-eslint": "^8.48.0",
95
- "yaml-eslint-parser": "^1.3.0"
91
+ "eslint-plugin-yml": "^1.19.1",
92
+ "jsonc-eslint-parser": "^2.4.2",
93
+ "toml-eslint-parser": "^0.10.1",
94
+ "typescript-eslint": "^8.50.0",
95
+ "yaml-eslint-parser": "^1.3.2"
96
96
  },
97
97
  "devDependencies": {
98
- "@changesets/cli": "^2.29.7",
98
+ "@changesets/cli": "^2.29.8",
99
99
  "@jsse/prettier-config": "^1.0.0",
100
100
  "@jsse/tsconfig": "^0.4.0",
101
101
  "@types/debug": "^4.1.12",
102
102
  "@types/fs-extra": "^11.0.4",
103
103
  "@types/node": "^24.10.1",
104
104
  "cac": "^6.7.14",
105
- "eslint": "^9.39.1",
105
+ "eslint": "^9.39.2",
106
106
  "eslint-flat-config-utils": "^2.1.4",
107
107
  "eslint-typegen": "^2.3.0",
108
- "execa": "~9.6.0",
108
+ "execa": "~9.6.1",
109
109
  "fast-glob": "^3.3.3",
110
110
  "fs-extra": "^11.3.2",
111
111
  "globals": "^16.5.0",
112
112
  "local-pkg": "^1.1.2",
113
- "oxlint": "^1.30.0",
113
+ "oxlint": "^1.33.0",
114
114
  "picocolors": "^1.1.1",
115
- "prettier": "^3.6.2",
116
- "react": "~19.2.0",
115
+ "prettier": "^3.7.4",
116
+ "react": "~19.2.3",
117
117
  "rimraf": "^6.1.2",
118
- "tsdown": "^0.16.5",
119
- "tsx": "^4.20.6",
118
+ "tsdown": "^0.18.0",
119
+ "tsx": "^4.21.0",
120
120
  "typescript": "~5.9.3",
121
- "vitest": "^4.0.10"
121
+ "vitest": "^4.0.15"
122
122
  },
123
123
  "prettier": "@jsse/prettier-config",
124
124
  "scripts": {