@jsse/eslint-config 0.2.31 → 0.2.32

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.2.32
4
+
5
+ ### Patch Changes
6
+
7
+ - update dep versions
8
+
3
9
  ## 0.2.31
4
10
 
5
11
  ### Patch Changes
package/dist/cli.cjs CHANGED
@@ -612,7 +612,7 @@ var CAC = class extends import_events.EventEmitter {
612
612
  var cac = (name = "") => new CAC(name);
613
613
 
614
614
  // src/generated/version.ts
615
- var VERSION = "0.2.31";
615
+ var VERSION = "0.2.32";
616
616
 
617
617
  // src/cli.ts
618
618
  var cli = cac("jsselint");
package/dist/cli.js CHANGED
@@ -588,7 +588,7 @@ var CAC = class extends EventEmitter {
588
588
  var cac = (name = "") => new CAC(name);
589
589
 
590
590
  // src/generated/version.ts
591
- var VERSION = "0.2.31";
591
+ var VERSION = "0.2.32";
592
592
 
593
593
  // src/cli.ts
594
594
  var cli = cac("jsselint");
@@ -1 +1 @@
1
- export declare const VERSION = "0.2.31";
1
+ export declare const VERSION = "0.2.32";
@@ -1 +1 @@
1
- export const VERSION = "0.2.31";
1
+ export const VERSION = "0.2.32";
@@ -1536,9 +1536,7 @@ export declare function importYmlLibs(): Promise<{
1536
1536
  };
1537
1537
  }>;
1538
1538
  export declare function importPluginMarkdown(): Promise<{
1539
- pluginMarkdown: import("eslint").ESLint.Plugin & {
1540
- languages: Record<string, import("@eslint/markdown").Language>;
1541
- };
1539
+ pluginMarkdown: typeof import("@eslint/markdown").default;
1542
1540
  }>;
1543
1541
  export declare function importPluginJsdoc(): Promise<{
1544
1542
  pluginJsdoc: import("eslint").ESLint.Plugin & {
package/dist/index.cjs CHANGED
@@ -3043,8 +3043,8 @@ var require_globals2 = __commonJS({
3043
3043
  });
3044
3044
 
3045
3045
  // src/index.ts
3046
- var src_exports = {};
3047
- __export(src_exports, {
3046
+ var index_exports = {};
3047
+ __export(index_exports, {
3048
3048
  SLOW_RULES: () => SLOW_RULES,
3049
3049
  VERSION: () => VERSION,
3050
3050
  changeRuleEntrySeverity: () => changeRuleEntrySeverity,
@@ -3088,7 +3088,7 @@ __export(src_exports, {
3088
3088
  uniqueStrings: () => uniqueStrings,
3089
3089
  warn2error: () => warn2error
3090
3090
  });
3091
- module.exports = __toCommonJS(src_exports);
3091
+ module.exports = __toCommonJS(index_exports);
3092
3092
 
3093
3093
  // src/const.ts
3094
3094
  var SLOW_RULES = [
@@ -13506,7 +13506,7 @@ async function defineConfig(options = {}, ...userConfigs) {
13506
13506
  }
13507
13507
 
13508
13508
  // src/generated/version.ts
13509
- var VERSION = "0.2.31";
13509
+ var VERSION = "0.2.32";
13510
13510
 
13511
13511
  // src/presets.ts
13512
13512
  var jsseReact = (options, ...configs) => {
package/dist/index.d.cts CHANGED
@@ -6713,31 +6713,31 @@ type JsoncSpaceUnaryOps =
6713
6713
 
6714
6714
  interface MarkdownRuleOptions {
6715
6715
  /**
6716
- * Require languages for fenced code blocks.
6716
+ * Require languages for fenced code blocks
6717
6717
  */
6718
6718
  "markdown/fenced-code-language"?: Linter.RuleEntry<MarkdownFencedCodeLanguage>;
6719
6719
  /**
6720
- * Enforce heading levels increment by one.
6720
+ * Enforce heading levels increment by one
6721
6721
  */
6722
6722
  "markdown/heading-increment"?: Linter.RuleEntry<[]>;
6723
6723
  /**
6724
- * Disallow duplicate headings in the same document.
6724
+ * Disallow duplicate headings in the same document
6725
6725
  */
6726
6726
  "markdown/no-duplicate-headings"?: Linter.RuleEntry<[]>;
6727
6727
  /**
6728
- * Disallow empty links.
6728
+ * Disallow empty links
6729
6729
  */
6730
6730
  "markdown/no-empty-links"?: Linter.RuleEntry<[]>;
6731
6731
  /**
6732
- * Disallow HTML tags.
6732
+ * Disallow HTML tags
6733
6733
  */
6734
6734
  "markdown/no-html"?: Linter.RuleEntry<MarkdownNoHtml>;
6735
6735
  /**
6736
- * Disallow invalid label references.
6736
+ * Disallow invalid label references
6737
6737
  */
6738
6738
  "markdown/no-invalid-label-refs"?: Linter.RuleEntry<[]>;
6739
6739
  /**
6740
- * Disallow missing label references.
6740
+ * Disallow missing label references
6741
6741
  */
6742
6742
  "markdown/no-missing-label-refs"?: Linter.RuleEntry<[]>;
6743
6743
  }
@@ -10239,6 +10239,47 @@ type PerfectionistSortEnums =
10239
10239
  order?: "asc" | "desc";
10240
10240
 
10241
10241
  forceNumericSort?: boolean;
10242
+ customGroups?:
10243
+ | {
10244
+ [k: string]: (string | string[]) | undefined;
10245
+ }
10246
+ | (
10247
+ | {
10248
+ groupName?: string;
10249
+
10250
+ type?:
10251
+ | "alphabetical"
10252
+ | "line-length"
10253
+ | "natural"
10254
+ | "unsorted";
10255
+
10256
+ order?: "desc" | "asc";
10257
+
10258
+ newlinesInside?: "always" | "never";
10259
+ anyOf?: {
10260
+ elementValuePattern?: string;
10261
+
10262
+ elementNamePattern?: string;
10263
+ }[];
10264
+ }
10265
+ | {
10266
+ groupName?: string;
10267
+
10268
+ type?:
10269
+ | "alphabetical"
10270
+ | "line-length"
10271
+ | "natural"
10272
+ | "unsorted";
10273
+
10274
+ order?: "desc" | "asc";
10275
+
10276
+ newlinesInside?: "always" | "never";
10277
+
10278
+ elementValuePattern?: string;
10279
+
10280
+ elementNamePattern?: string;
10281
+ }
10282
+ )[];
10242
10283
 
10243
10284
  sortByValue?: boolean;
10244
10285
 
@@ -10254,7 +10295,18 @@ type PerfectionistSortEnums =
10254
10295
 
10255
10296
  partitionByNewLine?: boolean;
10256
10297
 
10298
+ newlinesBetween?: "ignore" | "always" | "never";
10299
+
10257
10300
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10301
+
10302
+ groups?: (
10303
+ | string
10304
+ | string[]
10305
+ | {
10306
+ newlinesBetween?: "ignore" | "always" | "never";
10307
+ [k: string]: unknown | undefined;
10308
+ }
10309
+ )[];
10258
10310
  },
10259
10311
  ];
10260
10312
  // ----- perfectionist/sort-exports -----
@@ -10732,6 +10784,8 @@ type PerfectionistSortNamedExports =
10732
10784
 
10733
10785
  groupKind?: "mixed" | "values-first" | "types-first";
10734
10786
 
10787
+ ignoreAlias?: boolean;
10788
+
10735
10789
  partitionByComment?:
10736
10790
  | string[]
10737
10791
  | boolean
@@ -14831,7 +14885,9 @@ type StylisticQuotes =
14831
14885
  | "avoid-escape"
14832
14886
  | {
14833
14887
  avoidEscape?: boolean;
14834
- allowTemplateLiterals?: boolean;
14888
+ allowTemplateLiterals?:
14889
+ | boolean
14890
+ | ("never" | "avoidEscape" | "always");
14835
14891
  ignoreStringLiterals?: boolean;
14836
14892
  }
14837
14893
  ),
@@ -19781,6 +19837,8 @@ type TypescriptEslintNoUnnecessaryBooleanLiteralCompare =
19781
19837
  allowComparingNullableBooleansToFalse?: boolean;
19782
19838
 
19783
19839
  allowComparingNullableBooleansToTrue?: boolean;
19840
+
19841
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
19784
19842
  },
19785
19843
  ];
19786
19844
  // ----- @typescript-eslint/no-unnecessary-condition -----
@@ -22468,7 +22526,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
22468
22526
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
22469
22527
  type DefineConfig = typeof defineConfig;
22470
22528
 
22471
- declare const VERSION = "0.2.31";
22529
+ declare const VERSION = "0.2.32";
22472
22530
 
22473
22531
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
22474
22532
  declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
@@ -24053,9 +24111,7 @@ declare function importYmlLibs(): Promise<{
24053
24111
  };
24054
24112
  }>;
24055
24113
  declare function importPluginMarkdown(): Promise<{
24056
- pluginMarkdown: eslint.ESLint.Plugin & {
24057
- languages: Record<string, _eslint_markdown.Language>;
24058
- };
24114
+ pluginMarkdown: typeof _eslint_markdown.default;
24059
24115
  }>;
24060
24116
  declare function importPluginJsdoc(): Promise<{
24061
24117
  pluginJsdoc: eslint.ESLint.Plugin & {
package/dist/index.d.ts CHANGED
@@ -6713,31 +6713,31 @@ type JsoncSpaceUnaryOps =
6713
6713
 
6714
6714
  interface MarkdownRuleOptions {
6715
6715
  /**
6716
- * Require languages for fenced code blocks.
6716
+ * Require languages for fenced code blocks
6717
6717
  */
6718
6718
  "markdown/fenced-code-language"?: Linter.RuleEntry<MarkdownFencedCodeLanguage>;
6719
6719
  /**
6720
- * Enforce heading levels increment by one.
6720
+ * Enforce heading levels increment by one
6721
6721
  */
6722
6722
  "markdown/heading-increment"?: Linter.RuleEntry<[]>;
6723
6723
  /**
6724
- * Disallow duplicate headings in the same document.
6724
+ * Disallow duplicate headings in the same document
6725
6725
  */
6726
6726
  "markdown/no-duplicate-headings"?: Linter.RuleEntry<[]>;
6727
6727
  /**
6728
- * Disallow empty links.
6728
+ * Disallow empty links
6729
6729
  */
6730
6730
  "markdown/no-empty-links"?: Linter.RuleEntry<[]>;
6731
6731
  /**
6732
- * Disallow HTML tags.
6732
+ * Disallow HTML tags
6733
6733
  */
6734
6734
  "markdown/no-html"?: Linter.RuleEntry<MarkdownNoHtml>;
6735
6735
  /**
6736
- * Disallow invalid label references.
6736
+ * Disallow invalid label references
6737
6737
  */
6738
6738
  "markdown/no-invalid-label-refs"?: Linter.RuleEntry<[]>;
6739
6739
  /**
6740
- * Disallow missing label references.
6740
+ * Disallow missing label references
6741
6741
  */
6742
6742
  "markdown/no-missing-label-refs"?: Linter.RuleEntry<[]>;
6743
6743
  }
@@ -10239,6 +10239,47 @@ type PerfectionistSortEnums =
10239
10239
  order?: "asc" | "desc";
10240
10240
 
10241
10241
  forceNumericSort?: boolean;
10242
+ customGroups?:
10243
+ | {
10244
+ [k: string]: (string | string[]) | undefined;
10245
+ }
10246
+ | (
10247
+ | {
10248
+ groupName?: string;
10249
+
10250
+ type?:
10251
+ | "alphabetical"
10252
+ | "line-length"
10253
+ | "natural"
10254
+ | "unsorted";
10255
+
10256
+ order?: "desc" | "asc";
10257
+
10258
+ newlinesInside?: "always" | "never";
10259
+ anyOf?: {
10260
+ elementValuePattern?: string;
10261
+
10262
+ elementNamePattern?: string;
10263
+ }[];
10264
+ }
10265
+ | {
10266
+ groupName?: string;
10267
+
10268
+ type?:
10269
+ | "alphabetical"
10270
+ | "line-length"
10271
+ | "natural"
10272
+ | "unsorted";
10273
+
10274
+ order?: "desc" | "asc";
10275
+
10276
+ newlinesInside?: "always" | "never";
10277
+
10278
+ elementValuePattern?: string;
10279
+
10280
+ elementNamePattern?: string;
10281
+ }
10282
+ )[];
10242
10283
 
10243
10284
  sortByValue?: boolean;
10244
10285
 
@@ -10254,7 +10295,18 @@ type PerfectionistSortEnums =
10254
10295
 
10255
10296
  partitionByNewLine?: boolean;
10256
10297
 
10298
+ newlinesBetween?: "ignore" | "always" | "never";
10299
+
10257
10300
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10301
+
10302
+ groups?: (
10303
+ | string
10304
+ | string[]
10305
+ | {
10306
+ newlinesBetween?: "ignore" | "always" | "never";
10307
+ [k: string]: unknown | undefined;
10308
+ }
10309
+ )[];
10258
10310
  },
10259
10311
  ];
10260
10312
  // ----- perfectionist/sort-exports -----
@@ -10732,6 +10784,8 @@ type PerfectionistSortNamedExports =
10732
10784
 
10733
10785
  groupKind?: "mixed" | "values-first" | "types-first";
10734
10786
 
10787
+ ignoreAlias?: boolean;
10788
+
10735
10789
  partitionByComment?:
10736
10790
  | string[]
10737
10791
  | boolean
@@ -14831,7 +14885,9 @@ type StylisticQuotes =
14831
14885
  | "avoid-escape"
14832
14886
  | {
14833
14887
  avoidEscape?: boolean;
14834
- allowTemplateLiterals?: boolean;
14888
+ allowTemplateLiterals?:
14889
+ | boolean
14890
+ | ("never" | "avoidEscape" | "always");
14835
14891
  ignoreStringLiterals?: boolean;
14836
14892
  }
14837
14893
  ),
@@ -19781,6 +19837,8 @@ type TypescriptEslintNoUnnecessaryBooleanLiteralCompare =
19781
19837
  allowComparingNullableBooleansToFalse?: boolean;
19782
19838
 
19783
19839
  allowComparingNullableBooleansToTrue?: boolean;
19840
+
19841
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
19784
19842
  },
19785
19843
  ];
19786
19844
  // ----- @typescript-eslint/no-unnecessary-condition -----
@@ -22468,7 +22526,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
22468
22526
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
22469
22527
  type DefineConfig = typeof defineConfig;
22470
22528
 
22471
- declare const VERSION = "0.2.31";
22529
+ declare const VERSION = "0.2.32";
22472
22530
 
22473
22531
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
22474
22532
  declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
@@ -24053,9 +24111,7 @@ declare function importYmlLibs(): Promise<{
24053
24111
  };
24054
24112
  }>;
24055
24113
  declare function importPluginMarkdown(): Promise<{
24056
- pluginMarkdown: eslint.ESLint.Plugin & {
24057
- languages: Record<string, _eslint_markdown.Language>;
24058
- };
24114
+ pluginMarkdown: typeof _eslint_markdown.default;
24059
24115
  }>;
24060
24116
  declare function importPluginJsdoc(): Promise<{
24061
24117
  pluginJsdoc: eslint.ESLint.Plugin & {
package/dist/index.js CHANGED
@@ -13452,7 +13452,7 @@ async function defineConfig(options = {}, ...userConfigs) {
13452
13452
  }
13453
13453
 
13454
13454
  // src/generated/version.ts
13455
- var VERSION = "0.2.31";
13455
+ var VERSION = "0.2.32";
13456
13456
 
13457
13457
  // src/presets.ts
13458
13458
  var jsseReact = (options, ...configs) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jsse/eslint-config",
3
3
  "type": "module",
4
- "version": "0.2.31",
4
+ "version": "0.2.32",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -67,24 +67,24 @@
67
67
  },
68
68
  "dependencies": {
69
69
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
70
- "@eslint/compat": "^1.2.5",
71
- "@eslint/js": "~9.18.0",
72
- "@eslint/markdown": "^6.2.1",
73
- "@stylistic/eslint-plugin": "2.13.0",
74
- "@typescript-eslint/eslint-plugin": "^8.21.0",
75
- "@typescript-eslint/parser": "^8.21.0",
70
+ "@eslint/compat": "^1.2.6",
71
+ "@eslint/js": "~9.19.0",
72
+ "@eslint/markdown": "^6.2.2",
73
+ "@stylistic/eslint-plugin": "3.0.1",
74
+ "@typescript-eslint/eslint-plugin": "^8.23.0",
75
+ "@typescript-eslint/parser": "^8.23.0",
76
76
  "@vitest/eslint-plugin": "^1.1.25",
77
- "eslint-config-flat-gitignore": "^1.0.0",
77
+ "eslint-config-flat-gitignore": "^2.0.0",
78
78
  "eslint-define-config": "^2.1.0",
79
79
  "eslint-merge-processors": "^1.0.0",
80
- "eslint-plugin-antfu": "^2.7.0",
81
- "eslint-plugin-command": "^2.1.0",
80
+ "eslint-plugin-antfu": "^3.0.0",
81
+ "eslint-plugin-command": "^3.0.0",
82
82
  "eslint-plugin-import-x": "^4.6.1",
83
- "eslint-plugin-jsdoc": "^50.6.2",
84
- "eslint-plugin-jsonc": "^2.18.1",
83
+ "eslint-plugin-jsdoc": "^50.6.3",
84
+ "eslint-plugin-jsonc": "^2.19.1",
85
85
  "eslint-plugin-n": "^17.15.1",
86
86
  "eslint-plugin-no-only-tests": "^3.3.0",
87
- "eslint-plugin-perfectionist": "^4.7.0",
87
+ "eslint-plugin-perfectionist": "^4.8.0",
88
88
  "eslint-plugin-react": "~7.37.4",
89
89
  "eslint-plugin-react-hooks": "~5.1.0",
90
90
  "eslint-plugin-react-refresh": "~0.4.18",
@@ -95,22 +95,22 @@
95
95
  "eslint-plugin-yml": "^1.15.0",
96
96
  "jsonc-eslint-parser": "^2.4.0",
97
97
  "toml-eslint-parser": "^0.10.0",
98
- "typescript-eslint": "^8.21.0",
98
+ "typescript-eslint": "^8.23.0",
99
99
  "yaml-eslint-parser": "^1.2.3"
100
100
  },
101
101
  "devDependencies": {
102
102
  "@biomejs/biome": "1.9.4",
103
- "@changesets/cli": "^2.27.11",
103
+ "@changesets/cli": "^2.27.12",
104
104
  "@jsse/prettier-config": "^0.1.0",
105
105
  "@jsse/tsconfig": "^0.2.3",
106
- "@stylistic/eslint-plugin-jsx": "^2.13.0",
106
+ "@stylistic/eslint-plugin-jsx": "^3.0.1",
107
107
  "@types/eslint": "^9.6.1",
108
108
  "@types/eslint__js": "~8.42.3",
109
109
  "@types/fs-extra": "^11.0.4",
110
- "@types/node": "^22.10.7",
110
+ "@types/node": "^22.13.1",
111
111
  "cac": "^6.7.14",
112
- "eslint": "^9.18.0",
113
- "eslint-flat-config-utils": "^1.0.0",
112
+ "eslint": "^9.19.0",
113
+ "eslint-flat-config-utils": "^2.0.1",
114
114
  "eslint-plugin-tailwindcss": "^3.18.0",
115
115
  "eslint-typegen": "^1.0.0",
116
116
  "execa": "~9.5.1",
@@ -124,10 +124,10 @@
124
124
  "react": "~19.0.0",
125
125
  "rimraf": "^6.0.1",
126
126
  "tailwindcss": "^3.4.17",
127
- "tsup": "^8.3.5",
127
+ "tsup": "^8.3.6",
128
128
  "tsx": "^4.19.2",
129
129
  "typescript": "5.7.3",
130
- "vitest": "^3.0.3"
130
+ "vitest": "^3.0.5"
131
131
  },
132
132
  "prettier": "@jsse/prettier-config",
133
133
  "scripts": {