@jsse/eslint-config 0.4.8 → 0.4.9

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.9
4
+
5
+ ### Patch Changes
6
+
7
+ - update dependencies
8
+
3
9
  ## 0.4.8
4
10
 
5
11
  ### Patch Changes
package/dist/cli.d.ts CHANGED
@@ -1 +1 @@
1
- export { };
1
+ export {};
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { VERSION } from "./version-PF6gUNyJ.js";
1
+ import { VERSION } from "./version-DNhPWuQE.js";
2
2
  import fs from "node:fs";
3
3
  import process$1 from "node:process";
4
4
  import { EventEmitter } from "events";
@@ -572,7 +572,6 @@ var CAC = class extends EventEmitter {
572
572
  }
573
573
  };
574
574
  const cac = (name = "") => new CAC(name);
575
- var dist_default = cac;
576
575
 
577
576
  //#endregion
578
577
  //#region src/cli.ts
@@ -683,4 +682,5 @@ main().catch((e) => {
683
682
  throw e;
684
683
  });
685
684
 
686
- //#endregion
685
+ //#endregion
686
+ export { };
@@ -1 +1 @@
1
- export declare const VERSION = "0.4.8";
1
+ export declare const VERSION = "0.4.9";
@@ -1 +1 @@
1
- export const VERSION = "0.4.8";
1
+ export const VERSION = "0.4.9";
package/dist/index.d.ts CHANGED
@@ -2598,7 +2598,14 @@ type NoRestrictedExports = [] | [{
2598
2598
  type NoRestrictedGlobals = (string | {
2599
2599
  name: string;
2600
2600
  message?: string;
2601
- })[];
2601
+ })[] | [] | [{
2602
+ globals: (string | {
2603
+ name: string;
2604
+ message?: string;
2605
+ })[];
2606
+ checkGlobalObject?: boolean;
2607
+ globalObjects?: string[];
2608
+ }];
2602
2609
  // ----- no-restricted-imports -----
2603
2610
  type NoRestrictedImports = (string | {
2604
2611
  name: string;
@@ -2826,6 +2833,8 @@ type OneVar = [] | [("always" | "never" | "consecutive") | {
2826
2833
  var?: "always" | "never" | "consecutive";
2827
2834
  let?: "always" | "never" | "consecutive";
2828
2835
  const?: "always" | "never" | "consecutive";
2836
+ using?: "always" | "never" | "consecutive";
2837
+ awaitUsing?: "always" | "never" | "consecutive";
2829
2838
  } | {
2830
2839
  initialized?: "always" | "never" | "consecutive";
2831
2840
  uninitialized?: "always" | "never" | "consecutive";
@@ -7037,7 +7046,7 @@ interface PnpmRuleOptions {
7037
7046
  */
7038
7047
  "pnpm/json-enforce-catalog"?: Linter.RuleEntry<PnpmJsonEnforceCatalog>;
7039
7048
  /**
7040
- * Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This would requires pnpm v10.6+, see https://github.com/orgs/pnpm/discussions/9037.
7049
+ * Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This requires pnpm v10.6+, see https://github.com/orgs/pnpm/discussions/9037.
7041
7050
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-prefer-workspace-settings.test.ts
7042
7051
  */
7043
7052
  "pnpm/json-prefer-workspace-settings"?: Linter.RuleEntry<PnpmJsonPreferWorkspaceSettings>;
@@ -7047,7 +7056,7 @@ interface PnpmRuleOptions {
7047
7056
  */
7048
7057
  "pnpm/json-valid-catalog"?: Linter.RuleEntry<PnpmJsonValidCatalog>;
7049
7058
  /**
7050
- * Disallow unused catalogs in `pnpm-workspace.yaml`
7059
+ * Disallow duplicate catalog items in `pnpm-workspace.yaml`
7051
7060
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
7052
7061
  */
7053
7062
  "pnpm/yaml-no-duplicate-catalog-item"?: Linter.RuleEntry<PnpmYamlNoDuplicateCatalogItem>;
@@ -13740,7 +13749,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
13740
13749
  type DefineConfig = typeof defineConfig;
13741
13750
  //#endregion
13742
13751
  //#region src/generated/version.d.ts
13743
- declare const VERSION = "0.4.8";
13752
+ declare const VERSION = "0.4.9";
13744
13753
  declare namespace globs_d_exports {
13745
13754
  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_YAML };
13746
13755
  }
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __commonJS, __export, __toESM } from "./chunk-CkHaCily.js";
2
- import { VERSION } from "./version-PF6gUNyJ.js";
2
+ import { VERSION } from "./version-DNhPWuQE.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";
@@ -1232,12 +1232,12 @@ var skipWhiteSpace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
1232
1232
  var ref = Object.prototype;
1233
1233
  var hasOwnProperty$2 = ref.hasOwnProperty;
1234
1234
  var toString = ref.toString;
1235
- var hasOwn = Object.hasOwn || function(obj, propName) {
1235
+ var hasOwn = Object.hasOwn || (function(obj, propName) {
1236
1236
  return hasOwnProperty$2.call(obj, propName);
1237
- };
1238
- var isArray = Array.isArray || function(obj) {
1237
+ });
1238
+ var isArray = Array.isArray || (function(obj) {
1239
1239
  return toString.call(obj) === "[object Array]";
1240
- };
1240
+ });
1241
1241
  var regexpCache = Object.create(null);
1242
1242
  function wordsRegexp(words) {
1243
1243
  return regexpCache[words] || (regexpCache[words] = new RegExp("^(?:" + words.replace(/ /g, "|") + ")$"));
@@ -13177,7 +13177,7 @@ const imports = async (options) => {
13177
13177
 
13178
13178
  //#endregion
13179
13179
  //#region node_modules/.pnpm/globals@16.3.0/node_modules/globals/globals.json
13180
- var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.3.0/node_modules/globals/globals.json"(exports, module) {
13180
+ var require_globals$1 = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/globals@16.3.0/node_modules/globals/globals.json": ((exports, module) => {
13181
13181
  module.exports = {
13182
13182
  "amd": {
13183
13183
  "define": false,
@@ -16472,17 +16472,17 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.3.0/node_mod
16472
16472
  "YUI_config": false
16473
16473
  }
16474
16474
  };
16475
- } });
16475
+ }) });
16476
16476
 
16477
16477
  //#endregion
16478
16478
  //#region node_modules/.pnpm/globals@16.3.0/node_modules/globals/index.js
16479
- var require_globals = __commonJS({ "node_modules/.pnpm/globals@16.3.0/node_modules/globals/index.js"(exports, module) {
16479
+ var require_globals = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/globals@16.3.0/node_modules/globals/index.js": ((exports, module) => {
16480
16480
  module.exports = require_globals$1();
16481
- } });
16481
+ }) });
16482
16482
 
16483
16483
  //#endregion
16484
16484
  //#region src/configs/javascript.ts
16485
- var import_globals = __toESM(require_globals(), 1);
16485
+ var import_globals = /* @__PURE__ */ __toESM(require_globals(), 1);
16486
16486
  const javascript = async (options) => {
16487
16487
  const { isInEditor: isInEditor$1 = false, overrides = {}, reportUnusedDisableDirectives = true } = options ?? {};
16488
16488
  return [{
@@ -1,5 +1,5 @@
1
1
  //#region src/generated/version.ts
2
- const VERSION = "0.4.8";
2
+ const VERSION = "0.4.9";
3
3
 
4
4
  //#endregion
5
5
  export { VERSION };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jsse/eslint-config",
3
3
  "type": "module",
4
- "version": "0.4.8",
4
+ "version": "0.4.9",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -61,12 +61,12 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
64
- "@eslint/compat": "^1.3.1",
65
- "@eslint/js": "~9.32.0",
64
+ "@eslint/compat": "^1.3.2",
65
+ "@eslint/js": "~9.33.0",
66
66
  "@eslint/markdown": "^7.1.0",
67
- "@stylistic/eslint-plugin": "5.2.2",
68
- "@typescript-eslint/eslint-plugin": "^8.38.0",
69
- "@typescript-eslint/parser": "^8.38.0",
67
+ "@stylistic/eslint-plugin": "5.2.3",
68
+ "@typescript-eslint/eslint-plugin": "^8.39.1",
69
+ "@typescript-eslint/parser": "^8.39.1",
70
70
  "@vitest/eslint-plugin": "^1.3.4",
71
71
  "debug": "^4.4.1",
72
72
  "eslint-config-flat-gitignore": "^2.1.0",
@@ -75,35 +75,35 @@
75
75
  "eslint-plugin-command": "^3.3.1",
76
76
  "eslint-plugin-de-morgan": "^1.3.0",
77
77
  "eslint-plugin-import-lite": "^0.3.0",
78
- "eslint-plugin-jsdoc": "^52.0.0",
78
+ "eslint-plugin-jsdoc": "^54.1.0",
79
79
  "eslint-plugin-jsonc": "^2.20.1",
80
80
  "eslint-plugin-n": "^17.21.3",
81
81
  "eslint-plugin-no-only-tests": "^3.3.0",
82
82
  "eslint-plugin-perfectionist": "^4.15.0",
83
- "eslint-plugin-pnpm": "^1.1.0",
83
+ "eslint-plugin-pnpm": "^1.1.1",
84
84
  "eslint-plugin-react": "~7.37.5",
85
85
  "eslint-plugin-react-hooks": "~5.2.0",
86
86
  "eslint-plugin-react-refresh": "~0.4.20",
87
87
  "eslint-plugin-toml": "^0.12.0",
88
88
  "eslint-plugin-tsdoc": "^0.4.0",
89
89
  "eslint-plugin-unicorn": "^60.0.0",
90
- "eslint-plugin-unused-imports": "^4.1.4",
90
+ "eslint-plugin-unused-imports": "^4.2.0",
91
91
  "eslint-plugin-yml": "^1.18.0",
92
92
  "jsonc-eslint-parser": "^2.4.0",
93
93
  "toml-eslint-parser": "^0.10.0",
94
- "typescript-eslint": "^8.38.0",
94
+ "typescript-eslint": "^8.39.1",
95
95
  "yaml-eslint-parser": "^1.3.0"
96
96
  },
97
97
  "devDependencies": {
98
- "@biomejs/biome": "2.1.2",
99
- "@changesets/cli": "^2.29.5",
98
+ "@biomejs/biome": "2.2.0",
99
+ "@changesets/cli": "^2.29.6",
100
100
  "@jsse/prettier-config": "^1.0.0",
101
101
  "@jsse/tsconfig": "^0.3.0",
102
102
  "@types/debug": "^4.1.12",
103
103
  "@types/fs-extra": "^11.0.4",
104
- "@types/node": "^22.17.0",
104
+ "@types/node": "^24.3.0",
105
105
  "cac": "^6.7.14",
106
- "eslint": "^9.32.0",
106
+ "eslint": "^9.33.0",
107
107
  "eslint-flat-config-utils": "^2.1.1",
108
108
  "eslint-typegen": "^2.3.0",
109
109
  "execa": "~9.6.0",
@@ -115,8 +115,8 @@
115
115
  "prettier": "^3.6.2",
116
116
  "react": "~19.1.1",
117
117
  "rimraf": "^6.0.1",
118
- "tsdown": "^0.13.0",
119
- "tsx": "^4.20.3",
118
+ "tsdown": "^0.14.1",
119
+ "tsx": "^4.20.4",
120
120
  "typescript": "5.8.3",
121
121
  "vitest": "^3.2.4"
122
122
  },