@jsse/eslint-config 0.4.3 → 0.4.5

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/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __commonJS, __export, __toESM } from "./chunk-CkHaCily.js";
2
- import { VERSION } from "./version-BiMDAoll.js";
2
+ import { VERSION } from "./version-B0HyilUh.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";
@@ -15,7 +15,7 @@ import pluginTs from "@typescript-eslint/eslint-plugin";
15
15
  import * as parserTs from "@typescript-eslint/parser";
16
16
  import pluginAntfu from "eslint-plugin-antfu";
17
17
  import pluginDeMorgan from "eslint-plugin-de-morgan";
18
- import * as pluginImport from "eslint-plugin-import-x";
18
+ import pluginImportLite from "eslint-plugin-import-lite";
19
19
  import pluginN from "eslint-plugin-n";
20
20
  import pluginPerfectionist from "eslint-plugin-perfectionist";
21
21
  import pluginPnpm from "eslint-plugin-pnpm";
@@ -36,7 +36,6 @@ const SLOW_RULES = [
36
36
  "@typescript-eslint/no-unsafe-member-access",
37
37
  "@typescript-eslint/no-unsafe-return",
38
38
  "import/no-duplicates",
39
- "import/no-self-import",
40
39
  "jsdoc/check-access",
41
40
  "jsdoc/check-alignment",
42
41
  "jsdoc/check-property-names",
@@ -13091,14 +13090,12 @@ const imports = async (options) => {
13091
13090
  const { stylistic: stylistic$1 = true } = options ?? {};
13092
13091
  return [{
13093
13092
  name: "jsse/import",
13094
- plugins: { import: pluginImport },
13093
+ plugins: { import: pluginImportLite },
13095
13094
  rules: {
13096
13095
  "import/first": "error",
13097
13096
  "import/no-duplicates": "error",
13098
13097
  "import/no-mutable-exports": "error",
13099
13098
  "import/no-named-default": "error",
13100
- "import/no-self-import": "error",
13101
- "import/no-webpack-loader-syntax": "error",
13102
13099
  "import/order": "off",
13103
13100
  ...stylistic$1 ? { "import/newline-after-import": ["error", {
13104
13101
  considerComments: true,
@@ -13109,8 +13106,8 @@ const imports = async (options) => {
13109
13106
  };
13110
13107
 
13111
13108
  //#endregion
13112
- //#region node_modules/.pnpm/globals@16.2.0/node_modules/globals/globals.json
13113
- var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_modules/globals/globals.json"(exports, module) {
13109
+ //#region node_modules/.pnpm/globals@16.3.0/node_modules/globals/globals.json
13110
+ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.3.0/node_modules/globals/globals.json"(exports, module) {
13114
13111
  module.exports = {
13115
13112
  "amd": {
13116
13113
  "define": false,
@@ -13228,6 +13225,7 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
13228
13225
  "clearTimeout": false,
13229
13226
  "clientInformation": false,
13230
13227
  "Clipboard": false,
13228
+ "ClipboardChangeEvent": false,
13231
13229
  "ClipboardEvent": false,
13232
13230
  "ClipboardItem": false,
13233
13231
  "close": false,
@@ -13250,6 +13248,7 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
13250
13248
  "CookieStoreManager": false,
13251
13249
  "CountQueuingStrategy": false,
13252
13250
  "createImageBitmap": false,
13251
+ "CreateMonitor": false,
13253
13252
  "Credential": false,
13254
13253
  "credentialless": false,
13255
13254
  "CredentialsContainer": false,
@@ -13588,6 +13587,7 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
13588
13587
  "InputDeviceCapabilities": false,
13589
13588
  "InputDeviceInfo": false,
13590
13589
  "InputEvent": false,
13590
+ "IntegrityViolationReportBody": false,
13591
13591
  "IntersectionObserver": false,
13592
13592
  "IntersectionObserverEntry": false,
13593
13593
  "isSecureContext": false,
@@ -13903,6 +13903,7 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
13903
13903
  "PushSubscriptionOptions": false,
13904
13904
  "queryLocalFonts": false,
13905
13905
  "queueMicrotask": false,
13906
+ "QuotaExceededError": false,
13906
13907
  "RadioNodeList": false,
13907
13908
  "Range": false,
13908
13909
  "ReadableByteStreamController": false,
@@ -14026,6 +14027,7 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
14026
14027
  "SubmitEvent": false,
14027
14028
  "Subscriber": false,
14028
14029
  "SubtleCrypto": false,
14030
+ "Summarizer": false,
14029
14031
  "SuppressedError": false,
14030
14032
  "SVGAElement": false,
14031
14033
  "SVGAngle": false,
@@ -14156,6 +14158,7 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
14156
14158
  "TransformStream": false,
14157
14159
  "TransformStreamDefaultController": false,
14158
14160
  "TransitionEvent": false,
14161
+ "Translator": false,
14159
14162
  "TreeWalker": false,
14160
14163
  "TrustedHTML": false,
14161
14164
  "TrustedScript": false,
@@ -14187,6 +14190,8 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
14187
14190
  "VideoEncoder": false,
14188
14191
  "VideoFrame": false,
14189
14192
  "VideoPlaybackQuality": false,
14193
+ "viewport": false,
14194
+ "Viewport": false,
14190
14195
  "ViewTimeline": false,
14191
14196
  "ViewTransition": false,
14192
14197
  "ViewTransitionTypeSet": false,
@@ -15066,6 +15071,70 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
15066
15071
  "WeakRef": false,
15067
15072
  "WeakSet": false
15068
15073
  },
15074
+ "es2026": {
15075
+ "AggregateError": false,
15076
+ "Array": false,
15077
+ "ArrayBuffer": false,
15078
+ "Atomics": false,
15079
+ "BigInt": false,
15080
+ "BigInt64Array": false,
15081
+ "BigUint64Array": false,
15082
+ "Boolean": false,
15083
+ "DataView": false,
15084
+ "Date": false,
15085
+ "decodeURI": false,
15086
+ "decodeURIComponent": false,
15087
+ "encodeURI": false,
15088
+ "encodeURIComponent": false,
15089
+ "Error": false,
15090
+ "escape": false,
15091
+ "eval": false,
15092
+ "EvalError": false,
15093
+ "FinalizationRegistry": false,
15094
+ "Float16Array": false,
15095
+ "Float32Array": false,
15096
+ "Float64Array": false,
15097
+ "Function": false,
15098
+ "globalThis": false,
15099
+ "Infinity": false,
15100
+ "Int16Array": false,
15101
+ "Int32Array": false,
15102
+ "Int8Array": false,
15103
+ "Intl": false,
15104
+ "isFinite": false,
15105
+ "isNaN": false,
15106
+ "Iterator": false,
15107
+ "JSON": false,
15108
+ "Map": false,
15109
+ "Math": false,
15110
+ "NaN": false,
15111
+ "Number": false,
15112
+ "Object": false,
15113
+ "parseFloat": false,
15114
+ "parseInt": false,
15115
+ "Promise": false,
15116
+ "Proxy": false,
15117
+ "RangeError": false,
15118
+ "ReferenceError": false,
15119
+ "Reflect": false,
15120
+ "RegExp": false,
15121
+ "Set": false,
15122
+ "SharedArrayBuffer": false,
15123
+ "String": false,
15124
+ "Symbol": false,
15125
+ "SyntaxError": false,
15126
+ "TypeError": false,
15127
+ "Uint16Array": false,
15128
+ "Uint32Array": false,
15129
+ "Uint8Array": false,
15130
+ "Uint8ClampedArray": false,
15131
+ "undefined": false,
15132
+ "unescape": false,
15133
+ "URIError": false,
15134
+ "WeakMap": false,
15135
+ "WeakRef": false,
15136
+ "WeakSet": false
15137
+ },
15069
15138
  "es3": {
15070
15139
  "Array": false,
15071
15140
  "Boolean": false,
@@ -15618,6 +15687,7 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
15618
15687
  "CookieStoreManager": false,
15619
15688
  "CountQueuingStrategy": false,
15620
15689
  "createImageBitmap": false,
15690
+ "CreateMonitor": false,
15621
15691
  "CropTarget": false,
15622
15692
  "crossOriginIsolated": false,
15623
15693
  "crypto": false,
@@ -15777,8 +15847,10 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
15777
15847
  "PushManager": false,
15778
15848
  "PushMessageData": false,
15779
15849
  "PushSubscription": false,
15850
+ "PushSubscriptionChangeEvent": false,
15780
15851
  "PushSubscriptionOptions": false,
15781
15852
  "queueMicrotask": false,
15853
+ "QuotaExceededError": false,
15782
15854
  "ReadableByteStreamController": false,
15783
15855
  "ReadableStream": false,
15784
15856
  "ReadableStreamBYOBReader": false,
@@ -16033,6 +16105,7 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
16033
16105
  "console": false,
16034
16106
  "CountQueuingStrategy": false,
16035
16107
  "createImageBitmap": false,
16108
+ "CreateMonitor": false,
16036
16109
  "CropTarget": false,
16037
16110
  "crossOriginIsolated": false,
16038
16111
  "crypto": false,
@@ -16189,6 +16262,7 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
16189
16262
  "PushSubscription": false,
16190
16263
  "PushSubscriptionOptions": false,
16191
16264
  "queueMicrotask": false,
16265
+ "QuotaExceededError": false,
16192
16266
  "ReadableByteStreamController": false,
16193
16267
  "ReadableStream": false,
16194
16268
  "ReadableStreamBYOBReader": false,
@@ -16331,8 +16405,8 @@ var require_globals$1 = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_mod
16331
16405
  } });
16332
16406
 
16333
16407
  //#endregion
16334
- //#region node_modules/.pnpm/globals@16.2.0/node_modules/globals/index.js
16335
- var require_globals = __commonJS({ "node_modules/.pnpm/globals@16.2.0/node_modules/globals/index.js"(exports, module) {
16408
+ //#region node_modules/.pnpm/globals@16.3.0/node_modules/globals/index.js
16409
+ var require_globals = __commonJS({ "node_modules/.pnpm/globals@16.3.0/node_modules/globals/index.js"(exports, module) {
16336
16410
  module.exports = require_globals$1();
16337
16411
  } });
16338
16412
 
@@ -17780,22 +17854,15 @@ const sortTsconfig = async (options) => {
17780
17854
 
17781
17855
  //#endregion
17782
17856
  //#region src/configs/stylistic.ts
17783
- function jsxStylistic({ indent }) {
17857
+ function jsxStylistic() {
17784
17858
  return {
17785
17859
  "@stylistic/jsx-curly-brace-presence": ["error", { propElementValues: "always" }],
17786
- "@stylistic/jsx-indent": [
17787
- "error",
17788
- indent,
17789
- {
17790
- checkAttributes: true,
17791
- indentLogicalExpressions: true
17792
- }
17793
- ],
17860
+ "@stylistic/jsx-indent-props": ["error", { indentMode: 2 }],
17794
17861
  "@stylistic/jsx-quotes": "error"
17795
17862
  };
17796
17863
  }
17797
17864
  const stylistic = async (options) => {
17798
- const { indent = 2, jsx = true, quotes = "double" } = options ?? {};
17865
+ const { jsx = true, quotes = "double" } = options ?? {};
17799
17866
  const { pluginStylistic } = await importPluginStylistic();
17800
17867
  return [{
17801
17868
  name: "jsse/stylistic",
@@ -17806,11 +17873,11 @@ const stylistic = async (options) => {
17806
17873
  "error",
17807
17874
  quotes,
17808
17875
  {
17809
- allowTemplateLiterals: false,
17876
+ allowTemplateLiterals: "never",
17810
17877
  avoidEscape: true
17811
17878
  }
17812
17879
  ],
17813
- ...jsx ? jsxStylistic({ indent }) : {}
17880
+ ...jsx ? jsxStylistic() : {}
17814
17881
  }
17815
17882
  }];
17816
17883
  };
@@ -17953,7 +18020,7 @@ const typescript = async (options) => {
17953
18020
  {
17954
18021
  name: "jsse/typescript/setup",
17955
18022
  plugins: {
17956
- import: pluginImport,
18023
+ import: pluginImportLite,
17957
18024
  [tsPrefixTo]: pluginTs
17958
18025
  }
17959
18026
  },
@@ -18594,4 +18661,4 @@ const presetAll = makePresetFn([
18594
18661
  ]);
18595
18662
 
18596
18663
  //#endregion
18597
- 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, pluginImport, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
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 };
@@ -1,5 +1,5 @@
1
1
  //#region src/generated/version.ts
2
- const VERSION = "0.4.3";
2
+ const VERSION = "0.4.5";
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.3",
4
+ "version": "0.4.5",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -58,26 +58,26 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
61
- "@eslint/compat": "^1.3.0",
62
- "@eslint/js": "~9.29.0",
63
- "@eslint/markdown": "^6.5.0",
64
- "@stylistic/eslint-plugin": "4.4.1",
65
- "@typescript-eslint/eslint-plugin": "^8.34.1",
66
- "@typescript-eslint/parser": "^8.34.1",
67
- "@vitest/eslint-plugin": "^1.2.1",
61
+ "@eslint/compat": "^1.3.1",
62
+ "@eslint/js": "~9.31.0",
63
+ "@eslint/markdown": "^7.0.0",
64
+ "@stylistic/eslint-plugin": "5.2.0",
65
+ "@typescript-eslint/eslint-plugin": "^8.37.0",
66
+ "@typescript-eslint/parser": "^8.37.0",
67
+ "@vitest/eslint-plugin": "^1.3.4",
68
68
  "debug": "^4.4.1",
69
69
  "eslint-config-flat-gitignore": "^2.1.0",
70
70
  "eslint-merge-processors": "^2.0.0",
71
71
  "eslint-plugin-antfu": "^3.1.1",
72
- "eslint-plugin-command": "^3.2.1",
72
+ "eslint-plugin-command": "^3.3.1",
73
73
  "eslint-plugin-de-morgan": "^1.3.0",
74
- "eslint-plugin-import-x": "^4.15.2",
75
- "eslint-plugin-jsdoc": "^51.0.1",
74
+ "eslint-plugin-import-lite": "^0.3.0",
75
+ "eslint-plugin-jsdoc": "^51.4.1",
76
76
  "eslint-plugin-jsonc": "^2.20.1",
77
- "eslint-plugin-n": "^17.20.0",
77
+ "eslint-plugin-n": "^17.21.0",
78
78
  "eslint-plugin-no-only-tests": "^3.3.0",
79
- "eslint-plugin-perfectionist": "^4.14.0",
80
- "eslint-plugin-pnpm": "^0.3.1",
79
+ "eslint-plugin-perfectionist": "^4.15.0",
80
+ "eslint-plugin-pnpm": "^1.0.0",
81
81
  "eslint-plugin-react": "~7.37.5",
82
82
  "eslint-plugin-react-hooks": "~5.2.0",
83
83
  "eslint-plugin-react-refresh": "~0.4.20",
@@ -88,37 +88,34 @@
88
88
  "eslint-plugin-yml": "^1.18.0",
89
89
  "jsonc-eslint-parser": "^2.4.0",
90
90
  "toml-eslint-parser": "^0.10.0",
91
- "typescript-eslint": "^8.34.1",
91
+ "typescript-eslint": "^8.37.0",
92
92
  "yaml-eslint-parser": "^1.3.0"
93
93
  },
94
94
  "devDependencies": {
95
- "@biomejs/biome": "1.9.4",
96
- "@changesets/cli": "^2.29.4",
95
+ "@biomejs/biome": "2.1.1",
96
+ "@changesets/cli": "^2.29.5",
97
97
  "@jsse/prettier-config": "^1.0.0",
98
98
  "@jsse/tsconfig": "^0.3.0",
99
- "@stylistic/eslint-plugin-jsx": "^4.4.1",
100
99
  "@types/debug": "^4.1.12",
101
- "@types/eslint": "^9.6.1",
102
100
  "@types/fs-extra": "^11.0.4",
103
101
  "@types/node": "^22.15.30",
104
102
  "cac": "^6.7.14",
105
- "eslint": "^9.29.0",
103
+ "eslint": "^9.30.1",
106
104
  "eslint-flat-config-utils": "^2.1.0",
107
- "eslint-typegen": "^2.2.0",
105
+ "eslint-typegen": "^2.2.1",
108
106
  "execa": "~9.6.0",
109
107
  "fast-glob": "^3.3.3",
110
108
  "fs-extra": "^11.3.0",
111
- "globals": "^16.2.0",
109
+ "globals": "^16.3.0",
112
110
  "local-pkg": "^1.1.1",
113
- "neverthrow": "^8.2.0",
114
111
  "picocolors": "^1.1.1",
115
- "prettier": "^3.5.3",
112
+ "prettier": "^3.6.2",
116
113
  "react": "~19.1.0",
117
114
  "rimraf": "^6.0.1",
118
- "tsdown": "^0.12.8",
115
+ "tsdown": "^0.12.9",
119
116
  "tsx": "^4.20.3",
120
117
  "typescript": "5.8.3",
121
- "vitest": "^3.2.3"
118
+ "vitest": "^3.2.4"
122
119
  },
123
120
  "prettier": "@jsse/prettier-config",
124
121
  "scripts": {