@jsse/eslint-config 0.4.23 → 0.4.24

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.24
4
+
5
+ ### Patch Changes
6
+
7
+ - dependencies updated
8
+
3
9
  ## 0.4.23
4
10
 
5
11
  ### Patch Changes
@@ -10,21 +10,30 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
10
  var __commonJS = (cb, mod) => function() {
11
11
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
12
  };
13
- var __export = (all) => {
13
+ var __export = (all, symbols) => {
14
14
  let target = {};
15
- for (var name in all) __defProp(target, name, {
16
- get: all[name],
17
- enumerable: true
18
- });
15
+ for (var name in all) {
16
+ __defProp(target, name, {
17
+ get: all[name],
18
+ enumerable: true
19
+ });
20
+ }
21
+ if (symbols) {
22
+ __defProp(target, Symbol.toStringTag, { value: "Module" });
23
+ }
19
24
  return target;
20
25
  };
21
26
  var __copyProps = (to, from, except, desc) => {
22
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
23
- key = keys[i];
24
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
25
- get: ((k) => from[k]).bind(null, key),
26
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
27
- });
27
+ if (from && typeof from === "object" || typeof from === "function") {
28
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
29
+ key = keys[i];
30
+ if (!__hasOwnProp.call(to, key) && key !== except) {
31
+ __defProp(to, key, {
32
+ get: ((k) => from[k]).bind(null, key),
33
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
34
+ });
35
+ }
36
+ }
28
37
  }
29
38
  return to;
30
39
  };
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as DEBUG, t as VERSION } from "./version-BSBgfURZ.js";
1
+ import { n as DEBUG, t as VERSION } from "./version-BaLeOe0o.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
@@ -3599,6 +3599,11 @@ interface JsdocRuleOptions {
3599
3599
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
3600
3600
  */
3601
3601
  "jsdoc/require-property-type"?: Linter.RuleEntry<[]>;
3602
+ /**
3603
+ * Requires that Promise rejections are documented with `@rejects` tags.
3604
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-rejects.md#repos-sticky-header
3605
+ */
3606
+ "jsdoc/require-rejects"?: Linter.RuleEntry<JsdocRequireRejects>;
3602
3607
  /**
3603
3608
  * Requires that returns are documented with `@returns`.
3604
3609
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
@@ -3744,6 +3749,7 @@ type JsdocCheckExamples = [] | [{
3744
3749
  }];
3745
3750
  // ----- jsdoc/check-indentation -----
3746
3751
  type JsdocCheckIndentation = [] | [{
3752
+ allowIndentedSections?: boolean;
3747
3753
  excludeTags?: string[];
3748
3754
  }];
3749
3755
  // ----- jsdoc/check-line-alignment -----
@@ -4090,6 +4096,14 @@ type JsdocRequireParamType = [] | [{
4090
4096
  defaultDestructuredRootType?: string;
4091
4097
  setDefaultDestructuredRootType?: boolean;
4092
4098
  }];
4099
+ // ----- jsdoc/require-rejects -----
4100
+ type JsdocRequireRejects = [] | [{
4101
+ contexts?: (string | {
4102
+ comment?: string;
4103
+ context?: string;
4104
+ })[];
4105
+ exemptedBy?: string[];
4106
+ }];
4093
4107
  // ----- jsdoc/require-returns -----
4094
4108
  type JsdocRequireReturns = [] | [{
4095
4109
  checkConstructors?: boolean;
@@ -13362,6 +13376,11 @@ type UnicornTextEncodingIdentifierCase = [] | [{
13362
13376
  //#endregion
13363
13377
  //#region src/generated/dts/vitest.d.ts
13364
13378
  interface VitestRuleOptions {
13379
+ /**
13380
+ * enforce using `.each` or `.for` consistently
13381
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-each-for.md
13382
+ */
13383
+ "vitest/consistent-each-for"?: Linter.RuleEntry<VitestConsistentEachFor>;
13365
13384
  /**
13366
13385
  * require test file pattern
13367
13386
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
@@ -13579,7 +13598,7 @@ interface VitestRuleOptions {
13579
13598
  */
13580
13599
  "vitest/prefer-each"?: Linter.RuleEntry<[]>;
13581
13600
  /**
13582
- * enforce using the built-in quality matchers
13601
+ * enforce using the built-in equality matchers
13583
13602
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
13584
13603
  */
13585
13604
  "vitest/prefer-equality-matcher"?: Linter.RuleEntry<[]>;
@@ -13698,6 +13717,11 @@ interface VitestRuleOptions {
13698
13717
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
13699
13718
  */
13700
13719
  "vitest/require-hook"?: Linter.RuleEntry<VitestRequireHook>;
13720
+ /**
13721
+ * require usage of import in vi.mock()
13722
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-import-vi-mock.md
13723
+ */
13724
+ "vitest/require-import-vi-mock"?: Linter.RuleEntry<[]>;
13701
13725
  /**
13702
13726
  * require local Test Context for concurrent snapshot tests
13703
13727
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
@@ -13745,6 +13769,13 @@ interface VitestRuleOptions {
13745
13769
  "vitest/warn-todo"?: Linter.RuleEntry<[]>;
13746
13770
  }
13747
13771
  /* ======= Declarations ======= */
13772
+ // ----- vitest/consistent-each-for -----
13773
+ type VitestConsistentEachFor = [] | [{
13774
+ test?: "each" | "for";
13775
+ it?: "each" | "for";
13776
+ describe?: "each" | "for";
13777
+ suite?: "each" | "for";
13778
+ }];
13748
13779
  // ----- vitest/consistent-test-filename -----
13749
13780
  type VitestConsistentTestFilename = [] | [{
13750
13781
  pattern?: string;
@@ -14513,7 +14544,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
14513
14544
  type DefineConfig = typeof defineConfig;
14514
14545
  //#endregion
14515
14546
  //#region src/generated/version.d.ts
14516
- declare const VERSION = "0.4.23";
14547
+ declare const VERSION = "0.4.24";
14517
14548
  declare namespace globs_d_exports {
14518
14549
  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 };
14519
14550
  }
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { n as __export, r as __toESM, t as __commonJS } from "./chunk-CHBeWOYQ.js";
2
- import { n as DEBUG, r as SLOW_RULES, t as VERSION } from "./version-BSBgfURZ.js";
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";
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";
@@ -36,7 +36,7 @@ const SLOW_RULES = [
36
36
 
37
37
  //#endregion
38
38
  //#region src/generated/version.ts
39
- const VERSION = "0.4.23";
39
+ const VERSION = "0.4.24";
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.23",
4
+ "version": "0.4.24",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -64,10 +64,10 @@
64
64
  "@eslint/compat": "^2.0.0",
65
65
  "@eslint/js": "^9.39.1",
66
66
  "@eslint/markdown": "^7.5.1",
67
- "@stylistic/eslint-plugin": "5.6.0",
68
- "@typescript-eslint/eslint-plugin": "^8.47.0",
69
- "@typescript-eslint/parser": "^8.47.0",
70
- "@vitest/eslint-plugin": "^1.4.3",
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",
71
71
  "debug": "^4.4.3",
72
72
  "eslint-config-flat-gitignore": "^2.1.0",
73
73
  "eslint-merge-processors": "^2.0.0",
@@ -75,7 +75,7 @@
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.2.1",
78
+ "eslint-plugin-jsdoc": "^61.4.1",
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",
@@ -91,7 +91,7 @@
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.47.0",
94
+ "typescript-eslint": "^8.48.0",
95
95
  "yaml-eslint-parser": "^1.3.0"
96
96
  },
97
97
  "devDependencies": {
@@ -110,11 +110,11 @@
110
110
  "fs-extra": "^11.3.2",
111
111
  "globals": "^16.5.0",
112
112
  "local-pkg": "^1.1.2",
113
- "oxlint": "^1.29.0",
113
+ "oxlint": "^1.30.0",
114
114
  "picocolors": "^1.1.1",
115
115
  "prettier": "^3.6.2",
116
116
  "react": "~19.2.0",
117
- "rimraf": "^6.1.0",
117
+ "rimraf": "^6.1.2",
118
118
  "tsdown": "^0.16.5",
119
119
  "tsx": "^4.20.6",
120
120
  "typescript": "~5.9.3",