@culur/config-eslint 1.4.5 → 1.4.6

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,11 +1,28 @@
1
1
  # @culur/config-eslint
2
2
 
3
+ ## 1.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - ⚙️ Remove `import/no-deprecated` since `@antfu/eslint-config` removed `eslint-plugin-import-x` ([#333](https://github.com/culur/culur/pull/333) [`4c52e79`](https://github.com/culur/culur/commit/4c52e79211d67cae5da504e3b3020078f5bb5585)) ([@renovate](https://github.com/apps/renovate)).
8
+
9
+ - ⚙️ Update dependencies ([#333](https://github.com/culur/culur/pull/333) [`0311ae7`](https://github.com/culur/culur/commit/0311ae7ddfdf83bb62705639d38943e965376ef2)) ([@renovate](https://github.com/apps/renovate)):
10
+ - `dependencies`:
11
+ - `@antfu/eslint-config@^4.16.1`
12
+ - `@vitest/eslint-plugin@^1.3.3`
13
+ - `devDependencies`:
14
+ - `@vue/compiler-sfc@^3.5.17`
15
+
16
+ - ⚙️ Format `README.md` & `CHANGELOG.md` ([#332](https://github.com/culur/culur/pull/332) [`f80ca19`](https://github.com/culur/culur/commit/f80ca193496caa19abf584454b7740070c7ad7dc)) ([@renovate](https://github.com/apps/renovate)).
17
+
18
+ - 📦 Update workspace dependencies:
19
+ - [`@culur/utils-packages@1.2.5`](https://github.com/culur/culur/tree/main/packages/utils-packages#readme)
20
+
3
21
  ## 1.4.5
4
22
 
5
23
  ### Patch Changes
6
24
 
7
25
  - 📦 Update dependencies ([#318](https://github.com/culur/culur/pull/318) [`3cf65c2`](https://github.com/culur/culur/commit/3cf65c2f11f80e39278bf08878cefb4e4e76ac8d)) ([@renovate](https://github.com/apps/renovate)):
8
-
9
26
  - `devDependencies`:
10
27
  - `@vue/compiler-sfc@^3.5.16`
11
28
 
@@ -14,7 +31,6 @@
14
31
  ### Patch Changes
15
32
 
16
33
  - ⚙️ Update dependencies ([#308](https://github.com/culur/culur/pull/308) [`512c70a`](https://github.com/culur/culur/commit/512c70a8302b3d94af1dbd76ef7b05a3b49f411a)) ([@renovate](https://github.com/apps/renovate)):
17
-
18
34
  - `dependencies`:
19
35
  - `@antfu/eslint-config@^4.13.2`
20
36
  - `@vitest/eslint-plugin@^1.2.1`
@@ -40,7 +56,6 @@
40
56
  - 📦 Remove useless packages ([`520934f`](https://github.com/culur/culur/commit/520934f108d91d6b24145a3cef037de847caebb4)) ([@phamhongphuc](https://github.com/phamhongphuc)).
41
57
 
42
58
  - ⚙️ Update dependencies ([#296](https://github.com/culur/culur/pull/296) [`ebf776e`](https://github.com/culur/culur/commit/ebf776e8ad796526cc9fba72a5c516b65f7f077f)) ([@renovate](https://github.com/apps/renovate)):
43
-
44
59
  - `dependencies`:
45
60
  - `@antfu/eslint-config@^4.13.0`
46
61
  - `devDependencies`:
@@ -56,7 +71,6 @@
56
71
  ### Patch Changes
57
72
 
58
73
  - 📦 Update dependencies ([#282](https://github.com/culur/culur/pull/282) [`2b7da03`](https://github.com/culur/culur/commit/2b7da03b35254fc27224366d9379e45c213197bd)) ([@renovate](https://github.com/apps/renovate)):
59
-
60
74
  - `dependencies`:
61
75
  - `@vitest/eslint-plugin@^1.1.44`
62
76
 
@@ -80,7 +94,6 @@
80
94
  ### Minor Changes
81
95
 
82
96
  - ✨ Add `culur/renovate-json/rules` for **Renovate configurations** ([`5ba37f6`](https://github.com/culur/culur/commit/5ba37f611ea1240a75af798762bc88c2fef7f281)) ([@phamhongphuc](https://github.com/phamhongphuc)):
83
-
84
97
  - This new rule enforces consistent key sorting within Renovate configuration files
85
98
  - Currently, it automatically sorts the keys in the following sections:
86
99
  - The root-level configuration object.
@@ -89,7 +102,6 @@
89
102
  ### Patch Changes
90
103
 
91
104
  - ⚙️ Update dependencies ([`3e1bde7`](https://github.com/culur/culur/commit/3e1bde7c0641a97c5b48e44294bb856b1b1988b4)) ([@renovate](https://github.com/apps/renovate)):
92
-
93
105
  - `dependencies`:
94
106
  - `@antfu/eslint-config@^4.12.0`
95
107
  - `devDependencies`:
@@ -111,7 +123,6 @@
111
123
  ### Patch Changes
112
124
 
113
125
  - 📦 Update dependencies ([`8477bb1`](https://github.com/culur/culur/commit/8477bb1ab445164fa92108bda30c56cde5daf549)) ([@phamhongphuc](https://github.com/phamhongphuc)):
114
-
115
126
  - `dependencies`:
116
127
  - `@antfu/eslint-config@^4.10.1`
117
128
  - `devDependencies`:
@@ -126,7 +137,6 @@
126
137
  ### Patch Changes
127
138
 
128
139
  - 📦 Update dependencies ([#197](https://github.com/culur/culur/pull/197) [`c538a63`](https://github.com/culur/culur/commit/c538a635ce3170e3adbb189f3d913137cd56b0a5)) ([@phamhongphuc](https://github.com/phamhongphuc)):
129
-
130
140
  - `dependencies`:
131
141
  - `@antfu/eslint-config@^4.2.0`
132
142
  - `devDependencies`:
@@ -142,22 +152,18 @@
142
152
  ### Patch Changes
143
153
 
144
154
  - 📦 Update dependencies ([`dc71536`](https://github.com/culur/culur/commit/dc71536bf73e88a65f3f1794e9b0882977715ca0)) ([@phamhongphuc](https://github.com/phamhongphuc)):
145
-
146
155
  - `devDependencies`:
147
156
  - `@eslint/eslintrc@^3.2.0`
148
157
 
149
158
  - 📦 Update dependencies ([`dc71536`](https://github.com/culur/culur/commit/dc71536bf73e88a65f3f1794e9b0882977715ca0)) ([@phamhongphuc](https://github.com/phamhongphuc)):
150
-
151
159
  - `devDependencies`:
152
160
  - `type-fest@^4.27.0`
153
161
 
154
162
  - 📦 Update dependencies ([`dc71536`](https://github.com/culur/culur/commit/dc71536bf73e88a65f3f1794e9b0882977715ca0)) ([@phamhongphuc](https://github.com/phamhongphuc)):
155
-
156
163
  - `dependencies`:
157
164
  - `@antfu/eslint-config@^3.9.2`
158
165
 
159
166
  - 📦 Update dependencies ([`dc71536`](https://github.com/culur/culur/commit/dc71536bf73e88a65f3f1794e9b0882977715ca0)) ([@phamhongphuc](https://github.com/phamhongphuc)):
160
-
161
167
  - `devDependencies`:
162
168
  - `@vue/compiler-sfc@^3.5.13`
163
169
 
@@ -169,12 +175,10 @@
169
175
  ### Patch Changes
170
176
 
171
177
  - 📦 Update dependencies ([#146](https://github.com/culur/culur/pull/146) [`e75d1ad`](https://github.com/culur/culur/commit/e75d1ad133b80bcc6eb7aebcf4618ea74c33509d)) ([@renovate](https://github.com/apps/renovate)):
172
-
173
178
  - `dependencies`:
174
179
  - `@antfu/eslint-config@^3.8.0`
175
180
 
176
181
  - 📦 Update dependencies ([#130](https://github.com/culur/culur/pull/130) [`fbc896f`](https://github.com/culur/culur/commit/fbc896fe9b49c8dd0500e1b42d7c15a2d39878c2)) ([@renovate](https://github.com/apps/renovate)):
177
-
178
182
  - `devDependencies`:
179
183
  - `@vue/compiler-sfc@^3.5.12`
180
184
 
@@ -186,12 +190,10 @@
186
190
  ### Patch Changes
187
191
 
188
192
  - 📦 Update dependencies ([#123](https://github.com/culur/culur/pull/123) [`904f6bf`](https://github.com/culur/culur/commit/904f6bf0439d544787df2a7dd8aa6e3b0ef7a435)) ([@renovate](https://github.com/apps/renovate)):
189
-
190
193
  - `devDependencies`:
191
194
  - `@vue/compiler-sfc@^3.5.9`
192
195
 
193
196
  - 📦 Update dependencies ([#127](https://github.com/culur/culur/pull/127) [`c031405`](https://github.com/culur/culur/commit/c0314053c4058dcb25e889b280b7d5a78b1913df)) ([@renovate](https://github.com/apps/renovate)):
194
-
195
197
  - `dependencies`:
196
198
  - `@antfu/eslint-config@^3.7.3`
197
199
 
@@ -203,12 +205,10 @@
203
205
  ### Patch Changes
204
206
 
205
207
  - 📦 Update dependencies ([`dd0bb07`](https://github.com/culur/culur/commit/dd0bb0763fb5eba340703a0b79ef4c1f12c4fd5e)) ([@renovate](https://github.com/apps/renovate)):
206
-
207
208
  - `devDependencies`:
208
209
  - `@vue/compiler-sfc@^3.5.7`
209
210
 
210
211
  - 📦 Update dependencies ([`6a3282d`](https://github.com/culur/culur/commit/6a3282d0703fb04b32d64e6ffdc9c439438c6a6a)) ([@renovate](https://github.com/apps/renovate)):
211
-
212
212
  - `dependencies`:
213
213
  - `@antfu/eslint-config@^3.7.1`
214
214
 
@@ -247,7 +247,6 @@
247
247
  - 🎨 Style: format code ([`7106ef6`](https://github.com/culur/culur/commit/7106ef687bd13fe3e695a241a95bb2168ef67d25)) ([@phamhongphuc](https://github.com/phamhongphuc)).
248
248
 
249
249
  - 📦 Update dependencies ([`f0a03a3`](https://github.com/culur/culur/commit/f0a03a33fbca1233f3d4fecb2e47d6adde48ae6f)) ([@phamhongphuc](https://github.com/phamhongphuc)):
250
-
251
250
  - `dependencies`:
252
251
  - `@antfu/eslint-config@^3.4.1`
253
252
  - `devDependencies`:
@@ -264,7 +263,6 @@
264
263
  ### Patch Changes
265
264
 
266
265
  - 📦 Update dependencies ([#93](https://github.com/culur/culur/pull/93) [`4601923`](https://github.com/culur/culur/commit/460192320d9c1aa8e9ef9f5cc24d3834880dca79)) ([@renovate](https://github.com/apps/renovate)):
267
-
268
266
  - `dependencies`:
269
267
  - `@antfu/eslint-config@^3.0.0`
270
268
 
@@ -273,18 +271,15 @@
273
271
  ### Patch Changes
274
272
 
275
273
  - ✨ Update `culur/yarnrc-yml/rules` ([`faea13e`](https://github.com/culur/culur/commit/faea13e970d080a10b4ef7d002105043482c9feb)) ([@phamhongphuc](https://github.com/phamhongphuc)):
276
-
277
274
  - Sort dependency name in `packageExtensions` alphabetically.
278
275
  - Sort `packageExtensions` field by `dependencies`, `peerDependencies` & `peerDependenciesMeta`.
279
276
  - Sort child dependency name alphabetically.
280
277
 
281
278
  - ✨ `antfu/vue/rules`: add 2 override rules ([`f377173`](https://github.com/culur/culur/commit/f3771731171571552f058b19fb69ec5d2ccda49b)) ([@phamhongphuc](https://github.com/phamhongphuc)):
282
-
283
279
  - `vue/padding-line-between-blocks`: always
284
280
  - `vue/component-name-in-template-casing`: with `registeredComponentsOnly: false` for support components import by `unplugin-vue-components`
285
281
 
286
282
  - 📦 Update dependencies ([#88](https://github.com/culur/culur/pull/88) [`931ffd2`](https://github.com/culur/culur/commit/931ffd24457c410ee28a3a38fef93a97527a85d6)) ([@phamhongphuc](https://github.com/phamhongphuc)):
287
-
288
283
  - `dependencies`:
289
284
  - `@antfu/eslint-config@^2.27.3`
290
285
  - `devDependencies`:
@@ -318,12 +313,10 @@
318
313
  - ✨ Add `culur/yarnrc-yml/rules` ([`9ba54db`](https://github.com/culur/culur/commit/9ba54dba9a511365bedc6f7d3e10870e67cd250c)) ([@phamhongphuc](https://github.com/phamhongphuc)).
319
314
 
320
315
  - 📦 Update dependencies ([`1111cd6`](https://github.com/culur/culur/commit/1111cd65addb46f4707868b8485aadb550e40818)) ([@renovate](https://github.com/apps/renovate)):
321
-
322
316
  - `dependencies`:
323
317
  - `@antfu/eslint-config@^2.22.2`
324
318
 
325
319
  - 📦 Update dependencies ([`fdd8f85`](https://github.com/culur/culur/commit/fdd8f851eaa3282131d72bced4d864640edf74a7)) ([@renovate](https://github.com/apps/renovate)):
326
-
327
320
  - `devDependencies`:
328
321
  - `eslint@^9.7.0`
329
322
 
@@ -339,17 +332,14 @@
339
332
  - 📝 Update `README.md` ([`3f052fc`](https://github.com/culur/culur/commit/3f052fcf60f7fda0af0d156266fb716b05dde1ff)) ([@phamhongphuc](https://github.com/phamhongphuc)).
340
333
 
341
334
  - 📦 Update dependencies ([`cafb9f7`](https://github.com/culur/culur/commit/cafb9f713c8f2b27860b04e5c2668011ceef83c3)) ([@renovate](https://github.com/apps/renovate)):
342
-
343
335
  - `dependencies`:
344
336
  - `@antfu/eslint-config@^2.22.0`
345
337
 
346
338
  - 📦 Update dependencies ([`48415cd`](https://github.com/culur/culur/commit/48415cd678f229f7de42a24141ebf6ab76aa2d19)) ([@renovate](https://github.com/apps/renovate)):
347
-
348
339
  - `devDependencies`:
349
340
  - `rimraf@^6.0.1`
350
341
 
351
342
  - 📦 Update dependencies ([`8674db9`](https://github.com/culur/culur/commit/8674db941572a49cc16a9c53e981fed32e8aebcf)) ([@renovate](https://github.com/apps/renovate)):
352
-
353
343
  - `devDependencies`:
354
344
  - `@vitest/coverage-v8@^2.0.2`
355
345
  - `@vitest/ui@^2.0.2`
@@ -362,7 +352,6 @@
362
352
  - 📝 Update `README.md` ([`2a74486`](https://github.com/culur/culur/commit/2a744863a5ba8378906547713fde5033ea85939c) [@phamhongphuc](https://github.com/phamhongphuc)).
363
353
 
364
354
  - 📦 Update dependencies ([#35](https://github.com/culur/culur/pull/35) [`9a595fa`](https://github.com/culur/culur/commit/9a595fae5f9505e9afdc872a2f670c08bb53d419) [@renovate](https://github.com/apps/renovate)):
365
-
366
355
  - `dependencies`:
367
356
  - `@antfu/eslint-config@^2.21.3`
368
357
  - `devDependencies`:
@@ -377,7 +366,6 @@
377
366
  ### Patch Changes
378
367
 
379
368
  - 📦 Update dependencies ([#26](https://github.com/culur/culur/pull/26) [`29627d9`](https://github.com/culur/culur/commit/29627d9f3d8966a6010e89fb79c61efd9aa3ba69) [@renovate](https://github.com/apps/renovate)):
380
-
381
369
  - `dependencies`:
382
370
  - `@antfu/eslint-config@^2.21.1`
383
371
  - `devDependencies`:
@@ -389,7 +377,6 @@
389
377
  ### Patch Changes
390
378
 
391
379
  - 📦 Update dependencies ([`74dbf2c`](https://github.com/culur/culur/commit/74dbf2c0050b30e9289aa7879c4cbb9ac103f4d3) [@renovate](https://github.com/apps/renovate)):
392
-
393
380
  - `dependencies`:
394
381
  - `@antfu/eslint-config@^2.20.0`
395
382
  - `devDependencies`:
package/dist/index.cjs CHANGED
@@ -18,7 +18,7 @@ var importsRules = {
18
18
  name: "antfu/imports/rules",
19
19
  partialConfig: {
20
20
  rules: {
21
- "import/no-deprecated": "error",
21
+ // 'import/no-deprecated': 'error',
22
22
  "import/consistent-type-specifier-style": ["error", "prefer-top-level"]
23
23
  }
24
24
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/overrides/imports-rules.ts","../src/overrides/sort-package-json.ts","../src/overrides/test-rules.ts","../src/overrides/vue-rules.ts","../src/rules/filename.ts","../src/rules/renovate-json/base/package-rule.ts","../src/rules/renovate-json/base/renovate-shared-config.ts","../src/rules/renovate-json/base/update-config.ts","../src/rules/renovate-json/order/package-rule.ts","../src/rules/renovate-json/base/assignees-and-reviewers-config.ts","../src/rules/renovate-json/base/config-migration.ts","../src/rules/renovate-json/base/legacy-admin-config.ts","../src/rules/renovate-json/base/renovate-config.ts","../src/rules/renovate-json/order/root.ts","../src/rules/renovate-json/index.ts","../src/rules/yarnrc-yml.ts","../src/types/index.ts","../src/index.ts"],"names":["sortPackageJsonAntfu","assert","vitest","defineHasPackages","antfu"],"mappings":";;;;;;;;;;;;;;;;AAEO,IAAM,YAA+B,GAAA;AAAA,EAC1C,IAAM,EAAA,qBAAA;AAAA,EACN,aAAe,EAAA;AAAA,IACb,KAAO,EAAA;AAAA,MACL,sBAAwB,EAAA,OAAA;AAAA,MACxB,wCAAA,EAA0C,CAAC,OAAA,EAAS,kBAAkB;AAAA;AACxE;AAEJ,CAAA;ACNO,IAAM,eAAkC,GAAA;AAAA,EAC7C,IAAM,EAAA,yBAAA;AAAA,EACN,MAAM,YAAe,GAAA;AACnB,IAAA,MAAM,CAAC,UAAU,CAAI,GAAA,MAAMA,qBAAqB,EAAA;AAChD,IAAOC,uBAAA,CAAA,OAAO,UAAW,CAAA,IAAA,KAAS,QAAQ,CAAA;AAC1C,IAAOA,uBAAA,CAAA,OAAO,UAAW,CAAA,KAAA,KAAU,QAAQ,CAAA;AAE3C,IAAM,MAAA,QAAA,GAAW,UAAW,CAAA,KAAA,CAAM,iBAAiB,CAAA;AACnD,IAAOA,uBAAA,CAAA,OAAO,aAAa,QAAQ,CAAA;AAEnC,IAAM,MAAA,GAAG,OAAO,CAAI,GAAA,QAAA;AACpB,IAAOA,uBAAA,CAAA,OAAO,YAAY,QAAQ,CAAA;AAElC,IAAA,OAAA,CAAQ,KAAQ,GAAA;AAAA;AAAA,MAEd,WAAA;AAAA,MACA,MAAA;AAAA,MACA,aAAA;AAAA,MACA,SAAA;AAAA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,MACZ,SAAW,EAAA,KAAA;AAAA,MACX,UAAY,EAAA,KAAA;AAAA,MACZ,GAAG;AAAA,KACL;AAAA,IACA,aAAA;AAAA,IACA,cAAA;AAAA,IACA,iBAAA;AAAA,IACA,GAAG;AAAA,GACL;AAEA,EAAA,MAAA,CAAO,QAAS,CAAA,GAAG,cAAe,CAAA,YAAY,CAAC,CAAA;AAC/C,EAAA,MAAA,CAAO,QAAS,CAAA,GAAG,cAAe,CAAA,eAAe,CAAC,CAAA;AAClD,EAAA,MAAA,CAAO,QAAS,CAAA,GAAG,cAAe,CAAA,SAAS,CAAC,CAAA;AAE5C,EAAA,IAAI,QAAU,EAAA;AACZ,IAAA,MAAA,CAAO,QAAS,CAAA,GAAG,cAAe,CAAA,QAAQ,CAAC,CAAA;AAAA;AAG7C,EAAO,OAAA,MAAA;AACT","file":"index.cjs","sourcesContent":["import type { OverrideConfig } from '~/types';\n\nexport const importsRules: OverrideConfig = {\n name: 'antfu/imports/rules',\n partialConfig: {\n rules: {\n 'import/no-deprecated': 'error',\n 'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],\n },\n },\n};\n","import type { OverrideConfig } from '~/types';\nimport assert from 'node:assert';\nimport { sortPackageJson as sortPackageJsonAntfu } from '@antfu/eslint-config';\n\nexport const sortPackageJson: OverrideConfig = {\n name: 'antfu/sort/package-json',\n async entireConfig() {\n const [configItem] = await sortPackageJsonAntfu();\n assert(typeof configItem.name === 'string');\n assert(typeof configItem.rules === 'object');\n\n const sortKeys = configItem.rules['jsonc/sort-keys'];\n assert(typeof sortKeys === 'object');\n\n const [, options] = sortKeys;\n assert(typeof options === 'object');\n\n options.order = [\n //? Project\n 'publisher',\n 'name',\n 'displayName',\n 'version',\n 'description',\n 'private',\n 'publishConfig',\n\n //? Repository\n 'repository',\n 'bugs',\n 'homepage',\n 'funding',\n\n //? Author & license\n 'contributors',\n 'author',\n 'license',\n\n //? https://code.visualstudio.com/api/references/extension-manifest\n 'keywords',\n 'categories',\n\n //? CDN\n 'unpkg',\n 'jsdelivr',\n\n //? Export\n 'type', // module or commonjs\n 'main',\n 'types',\n 'typings', // synonymous with types\n 'typesVersions',\n 'exports',\n 'bin',\n 'files',\n 'workspaces',\n\n //? https://code.visualstudio.com/api/references/extension-manifest\n 'icon',\n 'activationEvents',\n 'contributes',\n\n //? Scripts\n 'scripts',\n\n //? Node & packageManager\n 'volta',\n 'engines',\n 'packageManager',\n\n //? Dependencies\n 'dependencies',\n 'devDependencies',\n 'peerDependencies',\n 'peerDependenciesMeta',\n 'bundleDependencies',\n 'optionalDependencies',\n\n 'pnpm',\n 'overrides',\n 'resolutions',\n\n //? Lib config\n 'husky',\n 'simple-git-hooks',\n 'lint-staged',\n 'eslintConfig',\n ];\n\n return configItem;\n },\n};\n","import type { Linter } from 'eslint';\nimport type { OverrideConfig } from '~/types';\nimport vitest from '@vitest/eslint-plugin';\n\ndeclare module '@antfu/eslint-config' {\n export interface Rules {\n // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md\n 'test/valid-title': Linter.RuleEntry<\n [\n {\n ignoreTypeOfDescribeName?: boolean;\n allowArguments?: boolean;\n disallowedWords?: string[];\n mustNotMatch?: string[];\n mustMatch?: string[];\n },\n ]\n >;\n }\n}\n\nexport const testRules: OverrideConfig = {\n name: 'antfu/test/rules',\n partialConfig: {\n // Same `include` in @culur/config-vite\n files: ['**/*\\\\.{test,test-d}.?(c|m)[jt]s?(x)'],\n rules: {\n ...vitest.configs.recommended.rules,\n 'test/valid-title': ['error', { allowArguments: true }],\n 'test/expect-expect': [\n 'error',\n {\n assertFunctionNames: [\n 'expect',\n 'expectTypeOf',\n 'assert',\n 'assertType',\n ],\n },\n ],\n },\n },\n};\n","import type { OverrideConfig } from '~/types';\n\nexport const vueRules: OverrideConfig = {\n name: 'antfu/vue/rules',\n partialConfig: {\n rules: {\n 'vue/singleline-html-element-content-newline': 'off',\n 'vue/multiline-html-element-content-newline': 'off',\n 'vue/padding-line-between-blocks': ['error', 'always'],\n 'vue/component-name-in-template-casing': [\n 'error',\n 'PascalCase',\n { registeredComponentsOnly: false },\n ],\n },\n },\n};\n","import type { TypedFlatConfigItem } from '@antfu/eslint-config';\n\nexport const filenameRules: TypedFlatConfigItem = {\n name: 'culur/filename/rules',\n files: [\n '**/*.?(c|m){js,ts}?(x)',\n '**/*.vue',\n '**/*.md?(x)',\n '**/*.json?(c)',\n '**/*.y?(a)ml',\n '**/*.gql',\n '**/*.graphql',\n ],\n rules: {\n 'unicorn/filename-case': [\n 'error',\n {\n case: 'kebabCase',\n ignore: ['README.md', 'CHANGELOG.md'],\n },\n ],\n },\n};\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const packageRule = {\n // --- Metadata ---\n metadata: [\n 'description', // string | string[]: Human-readable description of what this package rule does, useful for documenting complex configurations.\n ],\n\n // --- Range Strategy ---\n rangeStrategy: [\n 'rangeStrategy', // 'auto' | 'pin' | 'bump' | 'replace' | 'widen' | 'update-lockfile' | 'in-range-only': Determines how to modify or update existing ranges\n ],\n\n // --- Rule Matching Criteria (Core) ---\n // These properties determine *which* dependencies or updates this rule applies to.\n matching: [\n 'matchPackageNames', // string[]: Apply rule if dependency name matches any in this list (e.g., [\"react\", \"lodash\"]).\n 'matchDepNames', // string[]: Apply rule if dependency name matches (similar to matchPackageNames, can be broader).\n 'matchManagers', // string[]: Apply rule if the dependency is managed by one of these package managers (e.g., [\"npm\", \"docker\"]).\n 'matchDatasources', // string[]: Apply rule if the dependency's version source matches (e.g., [\"npm\", \"git-tags\", \"docker\"]).\n 'matchDepTypes', // string[]: Apply rule if the dependency type matches (e.g., [\"dependencies\", \"devDependencies\", \"peerDependencies\"]).\n 'matchUpdateTypes', // UpdateType[]: Apply rule based on the type of update (e.g., [\"major\", \"minor\", \"patch\", \"pin\", \"digest\"]).\n 'matchCategories', // string[]: Apply rule if dependency belongs to specified categories (defined via extractConfigs or presets like \"linters\").\n 'matchCurrentVersion', // string: Apply rule if the *currently installed* version matches this pattern (supports regex).\n 'matchSourceUrls', // string[]: Apply rule if the dependency's source repository URL matches any pattern in the list.\n 'matchFileNames', // string[]: Apply rule if the dependency is found in a file matching any pattern in this list.\n 'matchBaseBranches', // string[]: Apply rule only when Renovate is running against one of these base branches.\n 'matchRepositories', // string[]: Apply rule only when Renovate is running in a repository matching one of these names.\n 'matchCurrentValue', // string: Apply rule if the current value (e.g., Docker tag) matches this pattern.\n 'matchNewValue', // string: Apply rule if the proposed new value/version matches this pattern.\n 'matchCurrentAge', // string: Apply rule based on how long the current version has been used (e.g., \"> 3 months\").\n 'matchConfidence', // MergeConfidence[]: Apply rule based on Renovate's calculated merge confidence level (e.g., [\"high\", \"very-high\"]).\n 'matchJsonata', // string[]: Advanced matching using JSONata queries against dependency metadata.\n ],\n\n // --- Registry & Network Configuration ---\n registriesNetwork: [\n 'registryUrls', // string[] | null: Override the global or default registry URLs specifically for dependencies matched by this rule.\n ],\n\n // --- Vulnerability Specific Matching ---\n vulnerabilities: [\n 'isVulnerabilityAlert', // boolean: (Note: Likely an internal flag set by Renovate, used to *match* rules against updates that *are* vulnerability fixes, rather than being set directly by the user). Apply rule if the update addresses a known vulnerability.\n 'vulnerabilityFixVersion', // string: Apply rule if the vulnerability fix is targeting this specific version.\n ],\n vulnerabilitiesShared: [\n 'vulnerabilitySeverity', // string: Minimum vulnerability severity level to report or act upon (e.g., \"high\", \"critical\").\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const renovateSharedConfig = {\n // --- Core Configuration ---\n config: [\n '$schema', // string: Reference to the JSON schema for validation.\n 'extends', // string[]: Specifies configuration presets to inherit from.\n 'enabled', // boolean: Enables or disables Renovate for the repository or rule.\n 'enabledManagers', // string[]: List of package managers to enable (e.g., [\"npm\", \"docker\"]).\n ],\n\n // --- Dependency Dashboard ---\n dependencyDashboard: [\n 'dependencyDashboardApproval', // boolean: Requires manual approval via the Dependency Dashboard checkbox before a PR is created.\n ],\n\n // --- Scheduling and Timezone ---\n schedule: [\n 'schedule', // string[]: Defines when Renovate should run using cron syntax or presets.\n 'timezone', // string: Timezone to use for scheduling (e.g., \"UTC\", \"America/New_York\").\n ],\n\n // --- Automerge ---\n automerge: [\n 'automerge', // boolean: Enables automatic merging of PRs when conditions are met.\n 'automergeType', // 'pr' | 'branch-push' | 'pr-comment': Specifies the automerge mechanism. Deprecated/renamed? (Note: Not in original list, added for context, potentially maps to other settings).\n 'automergeStrategy', // MergeStrategy ('auto', 'merge', 'rebase', 'squash'): The merge strategy to use for automerging.\n 'automergeSchedule', // string[]: Schedules automerging attempts independently of PR updates.\n 'internalChecksAsSuccess', // boolean: Considers Renovate's internal checks as successful for automerge status checks.\n 'platformAutomerge', // boolean: Use the platform's native automerge feature if available. (Note: Not in original list, but common).\n ],\n\n // --- Branch Management ---\n branch: [\n 'branchPrefix', // string: Prefix added to all Renovate-created branches.\n 'branchName', // string: Template for naming Renovate branches.\n 'branchNameStrict', // boolean: If true, enforces stricter validation for branch names.\n 'hashedBranchLength', // number: Length of the hash appended to branch names when needed.\n 'pruneBranchAfterAutomerge', // boolean: Automatically delete the branch after a PR is automerged.\n // 'branchPrefixOld', // string: Potentially deprecated or for specific migration scenarios.\n ],\n\n // --- Grouping Dependencies ---\n grouping: [\n 'group', // GroupConfig: More detailed configuration for grouping dependencies.\n 'groupName', // string: A custom name for a group of dependencies updated together in one PR.\n 'groupSlug', // string: A URL-friendly slug for the group name.\n ],\n\n // --- Commit Management ---\n commit: [\n 'semanticCommits', // 'auto' | 'enabled' | 'disabled': Controls the use of semantic commit messages.\n 'semanticCommitType', // string: The type used in semantic commits (e.g., \"fix\", \"chore\").\n 'semanticCommitScope', // string | null: The scope used in semantic commits.\n 'commitMessagePrefix', // string: Prefix added to all commit messages.\n 'commitMessage', // string: Template for the commit message body.\n 'commitMessageAction', // string: Action part of the commit message (e.g., \"Update\", \"Pin\").\n 'commitMessageTopic', // string: Topic part of the commit message (e.g., dependency name).\n 'commitMessageExtra', // string: Additional details appended to the commit message.\n 'commitMessageLowerCase', // 'auto' | 'never': Controls the casing of the commit message header.\n 'platformCommit', // PlatformCommitOptions: Platform-specific commit options.\n ],\n\n // --- Pull Request (PR) Management ---\n pr: [\n 'prCreation', // 'immediate' | 'not-pending' | 'status-success' | 'approval': Controls when PRs are created based on checks/approvals.\n 'draftPR', // boolean: Creates PRs as drafts initially.\n 'recreateClosed', // boolean: Recreate PRs if they were manually closed without merging.\n 'recreateWhen', // RecreateWhen: Specifies conditions under which closed PRs should be recreated.\n 'prBodyColumns', // string[]: Specifies which columns to include in the PR body's dependency table.\n 'prBodyDefinitions', // Record<string, string>: Custom definitions/text for sections within the PR body.\n 'prPriority', // number: Sets a priority level for the PR (platform-dependent).\n 'confidential', // boolean: Marks the PR as confidential (platform-dependent, e.g., GitLab).\n 'milestone', // number: Assigns the PR to a specific milestone number.\n ],\n\n // --- Labels ---\n labels: [\n 'labels', // string[]: List of labels to be added to created PRs.\n 'addLabels', // string[]: Additional labels to add (often used in package rules).\n 'keepUpdatedLabel', // string: Label indicating a PR should be kept up-to-date by Renovate, even if tests fail.\n 'rebaseLabel', // string: Label that triggers Renovate to rebase the PR.\n 'stopUpdatingLabel', // string: Label that tells Renovate to stop updating a specific PR.\n ],\n\n // --- Dependency Filtering and Matching ---\n filtering: [\n 'ignoreDeps', // string[]: List of dependency names to ignore completely.\n 'ignorePaths', // string[]: List of file paths or glob patterns to ignore during scanning.\n 'includePaths', // string[]: List of file paths or glob patterns to explicitly include (if others are ignored).\n 'fileMatch', // string[]: Glob patterns for matching dependency files.\n 'respectLatest', // boolean: Whether to strictly respect the 'latest' tag instead of potentially newer versions.\n 'ignoreTests', // boolean: Option to ignore dependencies typically found only in test/development scopes.\n ],\n\n // --- Advanced / Less Common ---\n advanced: [\n 'postUpgradeTasks', // PostUpgradeTasks: Defines commands or scripts to run after dependency upgrades.\n 'npmrc', // string: Allows providing custom .npmrc content for Renovate's operations.\n 'npmrcMerge', // boolean: Whether to merge provided npmrc content with existing files.\n 'changelogUrl', // string: A custom URL template for linking to changelogs.\n 'gitIgnoredAuthors', // string[]: List of git commit authors whose commits should be ignored by Renovate (e.g., bots).\n 'unicodeEmoji', // boolean: Use Unicode emojis (e.g., ✨) instead of text alternatives (e.g., :sparkles:).\n 'suppressNotifications', // string[]: List of notification types to suppress.\n 'productLinks', // Record<string, string>: Custom links for product documentation shown in PRs.\n 'rebaseWhen', // string ('auto', 'behind-base-branch', 'conflicted', 'never'): Conditions under which Renovate should rebase PRs.\n // 'manager', // string: Usually context-specific, identifies the package manager being used.\n // 'repository', // string: Usually context-specific, the name of the repository.\n // 'repositoryCache', // RepositoryCacheConfig: Configuration for caching repository data.\n // 'repositoryCacheType', // RepositoryCacheType: Type of repository cache ('local', 'shared', etc.).\n // 'autoReplaceGlobalMatch',// boolean: Advanced feature related to global replacements (less common).\n // 'force', // RenovateConfig: Allows forcing specific configurations, overriding others (use with caution).\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const updateConfig = {\n // --- Semantic Versioning Updates ---\n // Based on standard SemVer (MAJOR.MINOR.PATCH) changes.\n semantic_versioning: [\n 'major', // T: A change in the MAJOR version number (e.g., 1.x.x -> 2.0.0).\n 'minor', // T: A change in the MINOR version number (e.g., 1.2.x -> 1.3.0).\n 'patch', // T: A change in the PATCH version number (e.g., 1.2.3 -> 1.2.4).\n ],\n\n // --- Pinning and Digest Updates ---\n // Used for fixing to exact versions/digests.\n pinning_digests: [\n 'pin', // T: Updating from a range to a specific fixed version.\n 'digest', // T: Updating the content digest (hash) of a dependency (e.g., Docker image SHA).\n 'pinDigest', // T: An update involving both pinning and digest update.\n ],\n\n // --- Lock File Maintenance ---\n // Updates primarily related to the lock file.\n lock_file: [\n 'lockFileMaintenance', // T: Maintenance updates within the lock file without changing direct dependencies.\n 'lockfileUpdate', // T: General updates confined to the lock file. (Note: Potential overlap with lockFileMaintenance).\n ],\n\n // --- Special Update Cases ---\n // Covers less common or non-standard update scenarios.\n special_cases: [\n 'rollback', // T: Reverting a dependency to a previous version.\n 'bump', // T: A non-specific version increase (e.g., for date-based versions or non-SemVer).\n 'replacement', // T: Replacing one dependency with another.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from '../base/types';\nimport { packageRule } from '../base/package-rule';\nimport { renovateSharedConfig } from '../base/renovate-shared-config';\nimport { updateConfig } from '../base/update-config';\n\n// PackageRule\n// RenovateSharedConfig\n// UpdateConfig\nexport const packageRuleOrder = [\n //? core config\n ...packageRule.metadata,\n ...renovateSharedConfig.config,\n ...renovateSharedConfig.branch,\n\n //? migration & dashboard\n ...renovateSharedConfig.dependencyDashboard,\n\n //? schedule\n ...renovateSharedConfig.schedule,\n ...renovateSharedConfig.automerge,\n\n //? grouping\n ...renovateSharedConfig.grouping,\n ...renovateSharedConfig.commit,\n ...renovateSharedConfig.pr,\n ...renovateSharedConfig.labels,\n ...renovateSharedConfig.filtering,\n\n //? rangeStrategy\n ...packageRule.rangeStrategy,\n\n //? matching\n ...packageRule.matching,\n ...packageRule.registriesNetwork,\n\n //? vulnerabilities\n ...packageRule.vulnerabilities,\n ...packageRule.vulnerabilitiesShared,\n\n //? rarely\n ...renovateSharedConfig.advanced,\n\n //? overrides\n ...updateConfig.semantic_versioning,\n ...updateConfig.pinning_digests,\n ...updateConfig.lock_file,\n ...updateConfig.special_cases,\n] as const as JsoncSortKeysOrder;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const assigneesAndReviewersConfig = {\n // --- Assignees ---\n assignees: [\n 'assignees', // string[]: Explicit list of usernames to assign to the PR.\n 'assigneesFromCodeOwners', // boolean: Assign users listed as owners in the CODEOWNERS file.\n 'assigneesSampleSize', // number: Select a random sample of this size from the potential assignees (either from `assignees` list or CODEOWNERS). [1]\n ],\n\n // --- Reviewers ---\n reviewers: [\n 'reviewers', // string[]: Explicit list of usernames to request reviews from.\n 'reviewersFromCodeOwners', // boolean: Request reviews from users listed as owners in the CODEOWNERS file.\n 'reviewersSampleSize', // number: Select a random sample of this size from the potential reviewers (either from `reviewers` list or CODEOWNERS).\n 'additionalReviewers', // string[]: Add these users as reviewers *in addition* to any specified in `reviewers` or derived from CODEOWNERS. Useful for adding specific reviewers in package rules without overriding the base list. [14]\n 'ignoreReviewers', // string[]: List of usernames that should *not* be added as reviewers, even if they are in the `reviewers` list or CODEOWNERS. Useful for filtering out bots or users on leave. [2]\n ],\n\n // --- Common / Helper Options ---\n common: [\n 'expandCodeOwnersGroups', // boolean: If true, Renovate expands CODEOWNERS groups (like `@org/team`) into individual members before applying logic like `reviewersSampleSize`. Supported on GitLab [3, 4, 6] and potentially other platforms supporting group expansion [1].\n 'filterUnavailableUsers', // boolean: (Note: Supported on GitLab [3, 5]) Check if assigned/requested users are actually available/have access on the platform before adding them. [3, 5, 8, 12, 13] Prevents errors if a listed user doesn't exist or can't access the repository.\n // 'assignAutomerge', // boolean: (Note: From [14], likely deprecated or less common) Assign reviewers/assignees even if automerge is enabled. Default Renovate behavior is *not* to add assignees/reviewers if automerge is set, to reduce noise, unless the PR fails checks. [2, 7]\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from './types';\n\nexport const configMigration = [\n 'configMigration', // boolean: Enable this to get config migration PRs when needed\n] as const satisfies JsoncSortKeysOrder;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const legacyAdminConfig = {\n // --- Onboarding Configuration ---\n // Controls the behavior of the initial \"onboarding\" PR that Renovate creates\n // when it's first enabled on a repository, typically adding the renovate.json config file.\n onboarding: [\n 'onboarding', // boolean: Enables or disables the onboarding process. If false, Renovate might not start if no config exists.\n 'onboardingBranch', // string: The name of the branch to use for the onboarding PR (e.g., \"renovate/configure\").\n 'onboardingCommitMessage', // string: Custom commit message for the onboarding commit.\n 'onboardingPrTitle', // string: Custom title for the onboarding PR.\n 'onboardingConfig', // RenovateSharedConfig: A minimal Renovate configuration object to propose in the onboarding PR.\n 'onboardingConfigFileName', // string: The filename for the proposed configuration file (e.g., \"renovate.json\", \".github/renovate.json\").\n 'onboardingRebaseCheckbox', // boolean: Adds a checkbox to the onboarding PR body allowing users to request Renovate to rebase the PR. (Note: Specific to platform integration).\n 'onboardingNoDeps', // 'auto' | 'enabled' | 'disabled': Controls whether the onboarding PR should include initial dependency updates or just the configuration file. 'auto' usually means include updates if few dependencies exist.\n ],\n\n // --- Configuration Requirements ---\n // Defines requirements for the Renovate configuration itself.\n configurationRequirements: [\n 'requireConfig', // RequiredConfig ('required', 'optional', 'ignored'): Specifies whether a Renovate configuration file (`renovate.json`, etc.) is mandatory for Renovate to run on the repository. 'ignored' might be used in centrally managed setups.\n ],\n\n // --- Execution Environment & Logging (Legacy/Admin) ---\n // These settings are often more relevant for self-hosted Renovate instances or specific admin controls.\n executionLogging: [\n 'localDir', // string: Specifies a local directory path, potentially used for caching or temporary files in self-hosted environments. (Note: Less common in typical SaaS usage).\n 'logContext', // string: Adds a custom string/context to log messages, helpful for identifying logs from specific Renovate instances or runs.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const renovateConfig = {\n // --- Metadata ---\n metadata: [\n 'description', // string | string[]: Description for the repository (often used in platform UI).\n ],\n\n // --- Base Repository & Branching Strategy ---\n repository: [\n 'baseBranches', // string[]: List of base branches Renovate should operate on (e.g., [\"main\", \"develop\"]).\n 'defaultBranch', // string: Explicitly specifies the default branch if detection fails or needs override. (Note: Often detected automatically).\n 'useBaseBranchConfig', // UseBaseBranchConfigType: How to handle configuration when running on non-default base branches ('merge' or 'none').\n 'gitAuthor', // string: Custom git author for commits made by Renovate (e.g., \"Renovate Bot <bot@renovateapp.com>\").\n ],\n\n // --- Fork Handling ---\n forkHandling: [\n 'forkProcessing', // 'auto' | 'enabled' | 'disabled': How Renovate should handle running on repository forks. 'auto' usually disables on forks.\n 'isFork', // boolean: Explicitly tells Renovate if the current repository is a fork. (Usually detected).\n 'forkModeDisallowMaintainerEdits', // boolean: When running on a fork, disallow maintainers of the upstream repo from editing the PR.\n ],\n\n // --- Dependency Dashboard ---\n dependencyDashboard: [\n 'dependencyDashboard', // boolean: Enables or disables the creation and management of the Dependency Dashboard issue.\n 'dependencyDashboardTitle', // string: Custom title for the Dependency Dashboard issue.\n 'dependencyDashboardHeader', // string: Custom content to add to the top of the Dependency Dashboard body.\n 'dependencyDashboardFooter', // string: Custom content to add to the bottom of the DependencyDashboard body.\n 'dependencyDashboardLabels', // string[]: Labels to add to the Dependency Dashboard issue.\n 'dependencyDashboardChecks', // Record<string, string>: Configure approval checkboxes within the dashboard.\n 'dependencyDashboardAutoclose', // boolean: Automatically close the Dependency Dashboard issue if there are no pending updates.\n 'dependencyDashboardOSVVulnerabilitySummary', // 'none' | 'all' | 'unresolved': Controls the display of OSV vulnerability summaries in the dashboard.\n 'customizeDashboard', // Record<string, string>: Further customization options for the dashboard's appearance or behavior. (Note: Seems like a flexible key-value store for dashboard tweaks).\n // 'dependencyDashboardIssue', // number: Internal state, the number of the existing dashboard issue. (Note: Likely not user-configured directly).\n ],\n\n // --- Rate Limiting & Concurrency ---\n limits: [\n 'branchConcurrentLimit', // number | null: Maximum number of branches Renovate can create concurrently.\n 'prConcurrentLimit', // number: Maximum number of Pull Requests Renovate can create or update concurrently.\n 'prHourlyLimit', // number: Maximum number of Pull Requests Renovate can create per hour.\n ],\n\n // --- Branch/Commit Naming (Specific Overrides/Additions) ---\n namingSpecifics: [\n 'branchTopic', // string: A specific topic to use for branch naming, potentially overriding `commitMessageTopic`. (Note: Granular control over branch naming).\n 'additionalBranchPrefix', // string: Another prefix to add *after* the main `branchPrefix` but before the rest of the branch name. (Note: For more complex branch naming schemes).\n 'commitBody', // string: Explicitly set the entire commit message body, potentially overriding templates. (Note: Less common than using templating options).\n ],\n\n // --- Registry & Network Configuration ---\n registriesNetwork: [\n 'hostRules', // HostRule[]: Rules for authentication, endpoints, or other behaviors specific to certain hosts (e.g., private registries).\n 'defaultRegistryUrls', // string[]: Default registry URLs to use for package managers if not otherwise specified.\n 'registryUrls', // string[] | null: Overrides detected registry URLs.\n 'registryAliases', // Record<string, string>: Aliases for registry URLs.\n 's3Endpoint', // string: Custom endpoint URL for S3 interactions (e.g., for reports).\n 's3PathStyle', // boolean: Use path-style access for S3 instead of virtual-hosted style.\n ],\n\n // --- Vulnerability Management ---\n vulnerabilities: [\n 'vulnerabilityAlerts', // RenovateSharedConfig: Configuration specific to how vulnerability updates are handled (can inherit shared config structure).\n 'osvVulnerabilityAlerts', // boolean: Specifically enables checking for vulnerabilities using the OSV database.\n ],\n vulnerabilitiesShared: [\n 'vulnerabilitySeverity', // string: Minimum vulnerability severity level to report or act upon (e.g., \"high\", \"critical\").\n ],\n\n // --- Customization & Extensibility ---\n customization: [\n 'customManagers', // CustomManager[]: Definitions for custom package managers not built into Renovate.\n 'customDatasources', // Record<string, CustomDatasourceConfig>: Definitions for custom datasources to find package versions.\n 'secrets', // Record<string, string>: A key-value store for secrets needed during Renovate runs (e.g., tokens accessed via `process.env`). (Note: For securely passing sensitive data).\n 'env', // UserEnv: User-defined environment variables to be set when Renovate executes package manager commands.\n ],\n\n // --- Reporting ---\n reporting: [\n 'reportPath', // string: Path (for file type) or bucket/key (for S3 type) for saving run reports.\n 'reportType', // 'logging' | 'file' | 's3' | null: How and where to generate reports about Renovate runs.\n ],\n\n // --- Configuration Inheritance ---\n inheritance: [\n 'inheritConfig', // boolean: Whether to inherit configuration from a shared repository (defaults to true for Renovate App/Enterprise).\n 'inheritConfigFileName', // string: Custom filename for the shared configuration file in the inheritance repository.\n 'inheritConfigRepoName', // string: Specify the repository from which to inherit configuration.\n 'inheritConfigStrict', // boolean: If true, errors during config inheritance will stop the Renovate run.\n 'ignorePresets', // string[]: List of preset configurations (from `extends`) to ignore.\n 'force', // RenovateConfig: A nested configuration object used for forcing specific settings (often via CLI).\n ],\n\n // --- Process Control & Execution ---\n processControl: [\n 'skipInstalls', // boolean | null: Skip package manager install/build steps (use with caution, may break updates).\n 'updateInternalDeps', // boolean: Whether to update dependencies that point to other modules within the same monorepo.\n 'cloneSubmodulesFilter', // string[]: Filters to apply when deciding which submodules to clone.\n 'fetchChangeLogs', // FetchChangeLogsOptions: Options controlling if and how changelogs are fetched.\n 'logLevelRemap', // LogLevelRemap[]: Rules to remap log levels from specific modules or contexts.\n 'statusCheckNames', // Record<StatusCheckKey, string | null>: Override the names of status checks Renovate looks for or reports.\n 'configWarningReuseIssue', // boolean: If true, configuration warnings will be posted as comments on a single, reused issue instead of creating new ones.\n 'postUpdateOptions', // string[]: Options passed to post-update scripts or hooks. (Note: Related to `postUpgradeTasks` in SharedConfig, perhaps providing context/flags).\n ],\n\n // --- Constraints ---\n constraints: [\n 'constraints', // Record<string, string>: Define version constraints for dependencies (e.g., force a specific version range globally).\n 'constraintsFiltering', // ConstraintsFilter: Control how constraints are applied ('none', 'strict', 'loose').\n ],\n\n // --- Internal State / Contextual (Likely not configured directly in main config) ---\n internalContext: [\n 'depName', // string: The name of the specific dependency being processed in a rule context.\n 'baseBranch', // string: The specific base branch being processed in the current run.\n 'branchList', // string[]: List of branches detected in the repository.\n 'errors', // ValidationMessage[]: Collection of configuration errors found during parsing.\n 'fileList', // string[]: List of files relevant to the current operation.\n 'packageFile', // string: The specific package file being processed.\n 'repoIsOnboarded', // boolean: Flag indicating if the repository onboarding process is complete.\n 'repoIsActivated', // boolean: Flag indicating if Renovate is activated for the repository.\n 'warnings', // ValidationMessage[]: Collection of configuration warnings found during parsing.\n 'checkedBranches', // string[]: List of branches that have already been processed in the current run.\n 'sharedVariableName', // string: Name of a variable used for sharing data between runs or stages. (Note: Advanced/internal usage).\n ],\n\n // --- PackageRules ---\n packageRules: [\n 'packageRules', // PackageRule[]: The core mechanism for customizing Renovate's behavior for specific dependencies or groups.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from '../base/types';\nimport { assigneesAndReviewersConfig } from '../base/assignees-and-reviewers-config';\nimport { configMigration } from '../base/config-migration';\nimport { legacyAdminConfig } from '../base/legacy-admin-config';\nimport { renovateConfig } from '../base/renovate-config';\nimport { renovateSharedConfig } from '../base/renovate-shared-config';\nimport { updateConfig } from '../base/update-config';\n\n// RenovateConfig\n// LegacyAdminConfig,\n// RenovateSharedConfig,\n// UpdateConfig<PackageRule>,\n// AssigneesAndReviewersConfig,\n// ConfigMigration,\nexport const rootOrder = [\n //? core config\n ...renovateSharedConfig.config,\n ...renovateConfig.metadata,\n ...renovateConfig.repository,\n ...renovateConfig.forkHandling,\n ...renovateSharedConfig.branch,\n\n //? migration & dashboard\n ...configMigration,\n ...renovateConfig.dependencyDashboard,\n ...renovateSharedConfig.dependencyDashboard,\n\n //? schedule\n ...renovateSharedConfig.schedule,\n ...renovateSharedConfig.automerge,\n ...renovateConfig.limits,\n\n //? grouping\n ...renovateSharedConfig.grouping,\n ...renovateSharedConfig.commit,\n ...renovateSharedConfig.pr,\n ...renovateSharedConfig.labels,\n ...renovateSharedConfig.filtering,\n ...renovateConfig.namingSpecifics,\n ...assigneesAndReviewersConfig.assignees,\n ...assigneesAndReviewersConfig.reviewers,\n ...assigneesAndReviewersConfig.common,\n\n //? registriesNetwork\n ...renovateConfig.registriesNetwork,\n\n //? vulnerabilities\n ...renovateConfig.vulnerabilities,\n ...renovateConfig.vulnerabilitiesShared,\n\n //? rarely\n ...renovateSharedConfig.advanced,\n ...renovateConfig.customization,\n ...renovateConfig.reporting,\n ...renovateConfig.inheritance,\n ...renovateConfig.processControl,\n ...renovateConfig.constraints,\n ...renovateConfig.internalContext,\n ...legacyAdminConfig.onboarding,\n ...legacyAdminConfig.executionLogging,\n ...legacyAdminConfig.configurationRequirements,\n\n //? overrides\n ...updateConfig.semantic_versioning,\n ...updateConfig.pinning_digests,\n ...updateConfig.lock_file,\n ...updateConfig.special_cases,\n ...renovateConfig.packageRules,\n] as const as JsoncSortKeysOrder;\n","import type { TypedFlatConfigItem } from '@antfu/eslint-config';\nimport { packageRuleOrder } from './order/package-rule';\nimport { rootOrder } from './order/root';\n\nexport const renovateJsonRules: TypedFlatConfigItem = {\n name: 'culur/renovate-json/rules',\n files: [\n // https://docs.renovatebot.com/configuration-options/#configuration-options\n 'renovate.json',\n 'renovate.json5',\n '.github/renovate.json',\n '.github/renovate.json5',\n '.gitlab/renovate.json',\n '.gitlab/renovate.json5',\n '.renovaterc',\n '.renovaterc.json',\n '.renovaterc.json5',\n ],\n rules: {\n 'jsonc/sort-keys': [\n 'error',\n {\n pathPattern: '^$',\n order: rootOrder,\n },\n {\n pathPattern: '^packageRules\\\\[\\\\d+\\\\]$',\n order: packageRuleOrder,\n },\n ],\n },\n};\n","import type { Rules, TypedFlatConfigItem } from '@antfu/eslint-config';\nimport type { Linter } from 'eslint';\n\ntype YamlSortKeys =\n NonNullable<Rules['yaml/sort-keys']> extends Linter.RuleEntry<infer F>\n ? F\n : never;\n\ntype YamlSortKeysRecord = YamlSortKeys[0];\n\nexport const yamlOrder = {\n type: 'asc',\n caseSensitive: false,\n natural: true,\n} as const;\n\nexport const yarnrcYmlSortKeys = {\n packageExtensions: {\n packages: {\n pathPattern: /^packageExtensions$/.source,\n order: yamlOrder,\n },\n dependenciesTypes: {\n pathPattern: /^packageExtensions(?:\\[\".+\"\\]|\\.[^.]+)$/.source,\n order: yamlOrder,\n },\n childPackages: {\n pathPattern:\n /^packageExtensions(?:\\[\".+\"\\]|\\.[^.]+)\\.(?:dependencies|peerDependencies|peerDependenciesMeta)$/\n .source,\n order: yamlOrder,\n },\n },\n} satisfies Record<string, Record<string, YamlSortKeysRecord>>;\n\nexport const yarnrcYmlRules: TypedFlatConfigItem = {\n name: 'culur/yarnrc-yml/rules',\n files: ['.yarnrc.yml'],\n rules: {\n 'yaml/sort-keys': [\n 'error',\n yarnrcYmlSortKeys.packageExtensions.packages,\n yarnrcYmlSortKeys.packageExtensions.dependenciesTypes,\n yarnrcYmlSortKeys.packageExtensions.childPackages,\n ],\n },\n};\n","import type {\n Awaitable,\n Rules,\n TypedFlatConfigItem,\n} from '@antfu/eslint-config';\nimport type { Linter } from 'eslint';\n\nexport type OverrideConfig = {\n name: NonNullable<TypedFlatConfigItem['name']>;\n} & (\n | { partialConfig: TypedFlatConfigItem } // merge with the original config\n | { entireConfig: () => Awaitable<TypedFlatConfigItem> } // replace the entire config\n);\n\nexport const defineOverride = (config: OverrideConfig) =>\n [\n config.name,\n 'partialConfig' in config ? config.partialConfig : config.entireConfig,\n ] as const;\n\nexport type RuleEntry<T extends keyof Rules> = Rules[T] extends\n | Linter.RuleEntry<infer F>\n | undefined\n ? F\n : never;\n","import antfu from '@antfu/eslint-config';\nimport { defineHasPackages } from '@culur/utils-packages';\nimport { importsRules, sortPackageJson, vueRules } from './overrides';\nimport { testRules } from './overrides/test-rules';\nimport { filenameRules, renovateJsonRules, yarnrcYmlRules } from './rules';\nimport { defineOverride } from './types';\n\nexport default function defineConfig(\n ...[options = {}, ...userConfigs]: Parameters<typeof antfu>\n): ReturnType<typeof antfu> {\n const { hasVue } = defineHasPackages({ vue: !!options.vue });\n\n const config = antfu(\n {\n isInEditor: false,\n stylistic: false,\n formatters: false,\n ...options,\n },\n filenameRules,\n yarnrcYmlRules,\n renovateJsonRules,\n ...userConfigs,\n );\n\n config.override(...defineOverride(importsRules));\n config.override(...defineOverride(sortPackageJson));\n config.override(...defineOverride(testRules));\n\n if (hasVue()) {\n config.override(...defineOverride(vueRules));\n }\n\n return config;\n}\n"]}
1
+ {"version":3,"sources":["../src/overrides/imports-rules.ts","../src/overrides/sort-package-json.ts","../src/overrides/test-rules.ts","../src/overrides/vue-rules.ts","../src/rules/filename.ts","../src/rules/renovate-json/base/package-rule.ts","../src/rules/renovate-json/base/renovate-shared-config.ts","../src/rules/renovate-json/base/update-config.ts","../src/rules/renovate-json/order/package-rule.ts","../src/rules/renovate-json/base/assignees-and-reviewers-config.ts","../src/rules/renovate-json/base/config-migration.ts","../src/rules/renovate-json/base/legacy-admin-config.ts","../src/rules/renovate-json/base/renovate-config.ts","../src/rules/renovate-json/order/root.ts","../src/rules/renovate-json/index.ts","../src/rules/yarnrc-yml.ts","../src/types/index.ts","../src/index.ts"],"names":["sortPackageJsonAntfu","assert","vitest","defineHasPackages","antfu"],"mappings":";;;;;;;;;;;;;;;;AAEO,IAAM,YAAA,GAA+B;AAAA,EAC1C,IAAA,EAAM,qBAAA;AAAA,EACN,aAAA,EAAe;AAAA,IACb,KAAA,EAAO;AAAA;AAAA,MAEL,wCAAA,EAA0C,CAAC,OAAA,EAAS,kBAAkB;AAAA;AACxE;AAEJ,CAAA;ACNO,IAAM,eAAA,GAAkC;AAAA,EAC7C,IAAA,EAAM,yBAAA;AAAA,EACN,MAAM,YAAA,GAAe;AACnB,IAAA,MAAM,CAAC,UAAU,CAAA,GAAI,MAAMA,qBAAA,EAAqB;AAChD,IAAAC,uBAAA,CAAO,OAAO,UAAA,CAAW,IAAA,KAAS,QAAQ,CAAA;AAC1C,IAAAA,uBAAA,CAAO,OAAO,UAAA,CAAW,KAAA,KAAU,QAAQ,CAAA;AAE3C,IAAA,MAAM,QAAA,GAAW,UAAA,CAAW,KAAA,CAAM,iBAAiB,CAAA;AACnD,IAAAA,uBAAA,CAAO,OAAO,aAAa,QAAQ,CAAA;AAEnC,IAAA,MAAM,GAAG,OAAO,CAAA,GAAI,QAAA;AACpB,IAAAA,uBAAA,CAAO,OAAO,YAAY,QAAQ,CAAA;AAElC,IAAA,OAAA,CAAQ,KAAA,GAAQ;AAAA;AAAA,MAEd,WAAA;AAAA,MACA,MAAA;AAAA,MACA,aAAA;AAAA,MACA,SAAA;AAAA,MACA,aAAA;AAAA,MACA,SAAA;AAAA,MACA,eAAA;AAAA;AAAA,MAGA,YAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,SAAA;AAAA;AAAA,MAGA,cAAA;AAAA,MACA,QAAA;AAAA,MACA,SAAA;AAAA;AAAA,MAGA,UAAA;AAAA,MACA,YAAA;AAAA;AAAA,MAGA,OAAA;AAAA,MACA,UAAA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QAAA,CAAS,GAAG,cAAA,CAAe,eAAe,CAAC,CAAA;AAClD,EAAA,MAAA,CAAO,QAAA,CAAS,GAAG,cAAA,CAAe,SAAS,CAAC,CAAA;AAE5C,EAAA,IAAI,QAAO,EAAG;AACZ,IAAA,MAAA,CAAO,QAAA,CAAS,GAAG,cAAA,CAAe,QAAQ,CAAC,CAAA;AAAA;AAG7C,EAAA,OAAO,MAAA;AACT","file":"index.cjs","sourcesContent":["import type { OverrideConfig } from '~/types';\n\nexport const importsRules: OverrideConfig = {\n name: 'antfu/imports/rules',\n partialConfig: {\n rules: {\n // 'import/no-deprecated': 'error',\n 'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],\n },\n },\n};\n","import type { OverrideConfig } from '~/types';\nimport assert from 'node:assert';\nimport { sortPackageJson as sortPackageJsonAntfu } from '@antfu/eslint-config';\n\nexport const sortPackageJson: OverrideConfig = {\n name: 'antfu/sort/package-json',\n async entireConfig() {\n const [configItem] = await sortPackageJsonAntfu();\n assert(typeof configItem.name === 'string');\n assert(typeof configItem.rules === 'object');\n\n const sortKeys = configItem.rules['jsonc/sort-keys'];\n assert(typeof sortKeys === 'object');\n\n const [, options] = sortKeys;\n assert(typeof options === 'object');\n\n options.order = [\n //? Project\n 'publisher',\n 'name',\n 'displayName',\n 'version',\n 'description',\n 'private',\n 'publishConfig',\n\n //? Repository\n 'repository',\n 'bugs',\n 'homepage',\n 'funding',\n\n //? Author & license\n 'contributors',\n 'author',\n 'license',\n\n //? https://code.visualstudio.com/api/references/extension-manifest\n 'keywords',\n 'categories',\n\n //? CDN\n 'unpkg',\n 'jsdelivr',\n\n //? Export\n 'type', // module or commonjs\n 'main',\n 'types',\n 'typings', // synonymous with types\n 'typesVersions',\n 'exports',\n 'bin',\n 'files',\n 'workspaces',\n\n //? https://code.visualstudio.com/api/references/extension-manifest\n 'icon',\n 'activationEvents',\n 'contributes',\n\n //? Scripts\n 'scripts',\n\n //? Node & packageManager\n 'volta',\n 'engines',\n 'packageManager',\n\n //? Dependencies\n 'dependencies',\n 'devDependencies',\n 'peerDependencies',\n 'peerDependenciesMeta',\n 'bundleDependencies',\n 'optionalDependencies',\n\n 'pnpm',\n 'overrides',\n 'resolutions',\n\n //? Lib config\n 'husky',\n 'simple-git-hooks',\n 'lint-staged',\n 'eslintConfig',\n ];\n\n return configItem;\n },\n};\n","import type { Linter } from 'eslint';\nimport type { OverrideConfig } from '~/types';\nimport vitest from '@vitest/eslint-plugin';\n\ndeclare module '@antfu/eslint-config' {\n export interface Rules {\n // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md\n 'test/valid-title': Linter.RuleEntry<\n [\n {\n ignoreTypeOfDescribeName?: boolean;\n allowArguments?: boolean;\n disallowedWords?: string[];\n mustNotMatch?: string[];\n mustMatch?: string[];\n },\n ]\n >;\n }\n}\n\nexport const testRules: OverrideConfig = {\n name: 'antfu/test/rules',\n partialConfig: {\n // Same `include` in @culur/config-vite\n files: ['**/*\\\\.{test,test-d}.?(c|m)[jt]s?(x)'],\n rules: {\n ...vitest.configs.recommended.rules,\n 'test/valid-title': ['error', { allowArguments: true }],\n 'test/expect-expect': [\n 'error',\n {\n assertFunctionNames: [\n 'expect',\n 'expectTypeOf',\n 'assert',\n 'assertType',\n ],\n },\n ],\n },\n },\n};\n","import type { OverrideConfig } from '~/types';\n\nexport const vueRules: OverrideConfig = {\n name: 'antfu/vue/rules',\n partialConfig: {\n rules: {\n 'vue/singleline-html-element-content-newline': 'off',\n 'vue/multiline-html-element-content-newline': 'off',\n 'vue/padding-line-between-blocks': ['error', 'always'],\n 'vue/component-name-in-template-casing': [\n 'error',\n 'PascalCase',\n { registeredComponentsOnly: false },\n ],\n },\n },\n};\n","import type { TypedFlatConfigItem } from '@antfu/eslint-config';\n\nexport const filenameRules: TypedFlatConfigItem = {\n name: 'culur/filename/rules',\n files: [\n '**/*.?(c|m){js,ts}?(x)',\n '**/*.vue',\n '**/*.md?(x)',\n '**/*.json?(c)',\n '**/*.y?(a)ml',\n '**/*.gql',\n '**/*.graphql',\n ],\n rules: {\n 'unicorn/filename-case': [\n 'error',\n {\n case: 'kebabCase',\n ignore: ['README.md', 'CHANGELOG.md'],\n },\n ],\n },\n};\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const packageRule = {\n // --- Metadata ---\n metadata: [\n 'description', // string | string[]: Human-readable description of what this package rule does, useful for documenting complex configurations.\n ],\n\n // --- Range Strategy ---\n rangeStrategy: [\n 'rangeStrategy', // 'auto' | 'pin' | 'bump' | 'replace' | 'widen' | 'update-lockfile' | 'in-range-only': Determines how to modify or update existing ranges\n ],\n\n // --- Rule Matching Criteria (Core) ---\n // These properties determine *which* dependencies or updates this rule applies to.\n matching: [\n 'matchPackageNames', // string[]: Apply rule if dependency name matches any in this list (e.g., [\"react\", \"lodash\"]).\n 'matchDepNames', // string[]: Apply rule if dependency name matches (similar to matchPackageNames, can be broader).\n 'matchManagers', // string[]: Apply rule if the dependency is managed by one of these package managers (e.g., [\"npm\", \"docker\"]).\n 'matchDatasources', // string[]: Apply rule if the dependency's version source matches (e.g., [\"npm\", \"git-tags\", \"docker\"]).\n 'matchDepTypes', // string[]: Apply rule if the dependency type matches (e.g., [\"dependencies\", \"devDependencies\", \"peerDependencies\"]).\n 'matchUpdateTypes', // UpdateType[]: Apply rule based on the type of update (e.g., [\"major\", \"minor\", \"patch\", \"pin\", \"digest\"]).\n 'matchCategories', // string[]: Apply rule if dependency belongs to specified categories (defined via extractConfigs or presets like \"linters\").\n 'matchCurrentVersion', // string: Apply rule if the *currently installed* version matches this pattern (supports regex).\n 'matchSourceUrls', // string[]: Apply rule if the dependency's source repository URL matches any pattern in the list.\n 'matchFileNames', // string[]: Apply rule if the dependency is found in a file matching any pattern in this list.\n 'matchBaseBranches', // string[]: Apply rule only when Renovate is running against one of these base branches.\n 'matchRepositories', // string[]: Apply rule only when Renovate is running in a repository matching one of these names.\n 'matchCurrentValue', // string: Apply rule if the current value (e.g., Docker tag) matches this pattern.\n 'matchNewValue', // string: Apply rule if the proposed new value/version matches this pattern.\n 'matchCurrentAge', // string: Apply rule based on how long the current version has been used (e.g., \"> 3 months\").\n 'matchConfidence', // MergeConfidence[]: Apply rule based on Renovate's calculated merge confidence level (e.g., [\"high\", \"very-high\"]).\n 'matchJsonata', // string[]: Advanced matching using JSONata queries against dependency metadata.\n ],\n\n // --- Registry & Network Configuration ---\n registriesNetwork: [\n 'registryUrls', // string[] | null: Override the global or default registry URLs specifically for dependencies matched by this rule.\n ],\n\n // --- Vulnerability Specific Matching ---\n vulnerabilities: [\n 'isVulnerabilityAlert', // boolean: (Note: Likely an internal flag set by Renovate, used to *match* rules against updates that *are* vulnerability fixes, rather than being set directly by the user). Apply rule if the update addresses a known vulnerability.\n 'vulnerabilityFixVersion', // string: Apply rule if the vulnerability fix is targeting this specific version.\n ],\n vulnerabilitiesShared: [\n 'vulnerabilitySeverity', // string: Minimum vulnerability severity level to report or act upon (e.g., \"high\", \"critical\").\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const renovateSharedConfig = {\n // --- Core Configuration ---\n config: [\n '$schema', // string: Reference to the JSON schema for validation.\n 'extends', // string[]: Specifies configuration presets to inherit from.\n 'enabled', // boolean: Enables or disables Renovate for the repository or rule.\n 'enabledManagers', // string[]: List of package managers to enable (e.g., [\"npm\", \"docker\"]).\n ],\n\n // --- Dependency Dashboard ---\n dependencyDashboard: [\n 'dependencyDashboardApproval', // boolean: Requires manual approval via the Dependency Dashboard checkbox before a PR is created.\n ],\n\n // --- Scheduling and Timezone ---\n schedule: [\n 'schedule', // string[]: Defines when Renovate should run using cron syntax or presets.\n 'timezone', // string: Timezone to use for scheduling (e.g., \"UTC\", \"America/New_York\").\n ],\n\n // --- Automerge ---\n automerge: [\n 'automerge', // boolean: Enables automatic merging of PRs when conditions are met.\n 'automergeType', // 'pr' | 'branch-push' | 'pr-comment': Specifies the automerge mechanism. Deprecated/renamed? (Note: Not in original list, added for context, potentially maps to other settings).\n 'automergeStrategy', // MergeStrategy ('auto', 'merge', 'rebase', 'squash'): The merge strategy to use for automerging.\n 'automergeSchedule', // string[]: Schedules automerging attempts independently of PR updates.\n 'internalChecksAsSuccess', // boolean: Considers Renovate's internal checks as successful for automerge status checks.\n 'platformAutomerge', // boolean: Use the platform's native automerge feature if available. (Note: Not in original list, but common).\n ],\n\n // --- Branch Management ---\n branch: [\n 'branchPrefix', // string: Prefix added to all Renovate-created branches.\n 'branchName', // string: Template for naming Renovate branches.\n 'branchNameStrict', // boolean: If true, enforces stricter validation for branch names.\n 'hashedBranchLength', // number: Length of the hash appended to branch names when needed.\n 'pruneBranchAfterAutomerge', // boolean: Automatically delete the branch after a PR is automerged.\n // 'branchPrefixOld', // string: Potentially deprecated or for specific migration scenarios.\n ],\n\n // --- Grouping Dependencies ---\n grouping: [\n 'group', // GroupConfig: More detailed configuration for grouping dependencies.\n 'groupName', // string: A custom name for a group of dependencies updated together in one PR.\n 'groupSlug', // string: A URL-friendly slug for the group name.\n ],\n\n // --- Commit Management ---\n commit: [\n 'semanticCommits', // 'auto' | 'enabled' | 'disabled': Controls the use of semantic commit messages.\n 'semanticCommitType', // string: The type used in semantic commits (e.g., \"fix\", \"chore\").\n 'semanticCommitScope', // string | null: The scope used in semantic commits.\n 'commitMessagePrefix', // string: Prefix added to all commit messages.\n 'commitMessage', // string: Template for the commit message body.\n 'commitMessageAction', // string: Action part of the commit message (e.g., \"Update\", \"Pin\").\n 'commitMessageTopic', // string: Topic part of the commit message (e.g., dependency name).\n 'commitMessageExtra', // string: Additional details appended to the commit message.\n 'commitMessageLowerCase', // 'auto' | 'never': Controls the casing of the commit message header.\n 'platformCommit', // PlatformCommitOptions: Platform-specific commit options.\n ],\n\n // --- Pull Request (PR) Management ---\n pr: [\n 'prCreation', // 'immediate' | 'not-pending' | 'status-success' | 'approval': Controls when PRs are created based on checks/approvals.\n 'draftPR', // boolean: Creates PRs as drafts initially.\n 'recreateClosed', // boolean: Recreate PRs if they were manually closed without merging.\n 'recreateWhen', // RecreateWhen: Specifies conditions under which closed PRs should be recreated.\n 'prBodyColumns', // string[]: Specifies which columns to include in the PR body's dependency table.\n 'prBodyDefinitions', // Record<string, string>: Custom definitions/text for sections within the PR body.\n 'prPriority', // number: Sets a priority level for the PR (platform-dependent).\n 'confidential', // boolean: Marks the PR as confidential (platform-dependent, e.g., GitLab).\n 'milestone', // number: Assigns the PR to a specific milestone number.\n ],\n\n // --- Labels ---\n labels: [\n 'labels', // string[]: List of labels to be added to created PRs.\n 'addLabels', // string[]: Additional labels to add (often used in package rules).\n 'keepUpdatedLabel', // string: Label indicating a PR should be kept up-to-date by Renovate, even if tests fail.\n 'rebaseLabel', // string: Label that triggers Renovate to rebase the PR.\n 'stopUpdatingLabel', // string: Label that tells Renovate to stop updating a specific PR.\n ],\n\n // --- Dependency Filtering and Matching ---\n filtering: [\n 'ignoreDeps', // string[]: List of dependency names to ignore completely.\n 'ignorePaths', // string[]: List of file paths or glob patterns to ignore during scanning.\n 'includePaths', // string[]: List of file paths or glob patterns to explicitly include (if others are ignored).\n 'fileMatch', // string[]: Glob patterns for matching dependency files.\n 'respectLatest', // boolean: Whether to strictly respect the 'latest' tag instead of potentially newer versions.\n 'ignoreTests', // boolean: Option to ignore dependencies typically found only in test/development scopes.\n ],\n\n // --- Advanced / Less Common ---\n advanced: [\n 'postUpgradeTasks', // PostUpgradeTasks: Defines commands or scripts to run after dependency upgrades.\n 'npmrc', // string: Allows providing custom .npmrc content for Renovate's operations.\n 'npmrcMerge', // boolean: Whether to merge provided npmrc content with existing files.\n 'changelogUrl', // string: A custom URL template for linking to changelogs.\n 'gitIgnoredAuthors', // string[]: List of git commit authors whose commits should be ignored by Renovate (e.g., bots).\n 'unicodeEmoji', // boolean: Use Unicode emojis (e.g., ✨) instead of text alternatives (e.g., :sparkles:).\n 'suppressNotifications', // string[]: List of notification types to suppress.\n 'productLinks', // Record<string, string>: Custom links for product documentation shown in PRs.\n 'rebaseWhen', // string ('auto', 'behind-base-branch', 'conflicted', 'never'): Conditions under which Renovate should rebase PRs.\n // 'manager', // string: Usually context-specific, identifies the package manager being used.\n // 'repository', // string: Usually context-specific, the name of the repository.\n // 'repositoryCache', // RepositoryCacheConfig: Configuration for caching repository data.\n // 'repositoryCacheType', // RepositoryCacheType: Type of repository cache ('local', 'shared', etc.).\n // 'autoReplaceGlobalMatch',// boolean: Advanced feature related to global replacements (less common).\n // 'force', // RenovateConfig: Allows forcing specific configurations, overriding others (use with caution).\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const updateConfig = {\n // --- Semantic Versioning Updates ---\n // Based on standard SemVer (MAJOR.MINOR.PATCH) changes.\n semantic_versioning: [\n 'major', // T: A change in the MAJOR version number (e.g., 1.x.x -> 2.0.0).\n 'minor', // T: A change in the MINOR version number (e.g., 1.2.x -> 1.3.0).\n 'patch', // T: A change in the PATCH version number (e.g., 1.2.3 -> 1.2.4).\n ],\n\n // --- Pinning and Digest Updates ---\n // Used for fixing to exact versions/digests.\n pinning_digests: [\n 'pin', // T: Updating from a range to a specific fixed version.\n 'digest', // T: Updating the content digest (hash) of a dependency (e.g., Docker image SHA).\n 'pinDigest', // T: An update involving both pinning and digest update.\n ],\n\n // --- Lock File Maintenance ---\n // Updates primarily related to the lock file.\n lock_file: [\n 'lockFileMaintenance', // T: Maintenance updates within the lock file without changing direct dependencies.\n 'lockfileUpdate', // T: General updates confined to the lock file. (Note: Potential overlap with lockFileMaintenance).\n ],\n\n // --- Special Update Cases ---\n // Covers less common or non-standard update scenarios.\n special_cases: [\n 'rollback', // T: Reverting a dependency to a previous version.\n 'bump', // T: A non-specific version increase (e.g., for date-based versions or non-SemVer).\n 'replacement', // T: Replacing one dependency with another.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from '../base/types';\nimport { packageRule } from '../base/package-rule';\nimport { renovateSharedConfig } from '../base/renovate-shared-config';\nimport { updateConfig } from '../base/update-config';\n\n// PackageRule\n// RenovateSharedConfig\n// UpdateConfig\nexport const packageRuleOrder = [\n //? core config\n ...packageRule.metadata,\n ...renovateSharedConfig.config,\n ...renovateSharedConfig.branch,\n\n //? migration & dashboard\n ...renovateSharedConfig.dependencyDashboard,\n\n //? schedule\n ...renovateSharedConfig.schedule,\n ...renovateSharedConfig.automerge,\n\n //? grouping\n ...renovateSharedConfig.grouping,\n ...renovateSharedConfig.commit,\n ...renovateSharedConfig.pr,\n ...renovateSharedConfig.labels,\n ...renovateSharedConfig.filtering,\n\n //? rangeStrategy\n ...packageRule.rangeStrategy,\n\n //? matching\n ...packageRule.matching,\n ...packageRule.registriesNetwork,\n\n //? vulnerabilities\n ...packageRule.vulnerabilities,\n ...packageRule.vulnerabilitiesShared,\n\n //? rarely\n ...renovateSharedConfig.advanced,\n\n //? overrides\n ...updateConfig.semantic_versioning,\n ...updateConfig.pinning_digests,\n ...updateConfig.lock_file,\n ...updateConfig.special_cases,\n] as const as JsoncSortKeysOrder;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const assigneesAndReviewersConfig = {\n // --- Assignees ---\n assignees: [\n 'assignees', // string[]: Explicit list of usernames to assign to the PR.\n 'assigneesFromCodeOwners', // boolean: Assign users listed as owners in the CODEOWNERS file.\n 'assigneesSampleSize', // number: Select a random sample of this size from the potential assignees (either from `assignees` list or CODEOWNERS). [1]\n ],\n\n // --- Reviewers ---\n reviewers: [\n 'reviewers', // string[]: Explicit list of usernames to request reviews from.\n 'reviewersFromCodeOwners', // boolean: Request reviews from users listed as owners in the CODEOWNERS file.\n 'reviewersSampleSize', // number: Select a random sample of this size from the potential reviewers (either from `reviewers` list or CODEOWNERS).\n 'additionalReviewers', // string[]: Add these users as reviewers *in addition* to any specified in `reviewers` or derived from CODEOWNERS. Useful for adding specific reviewers in package rules without overriding the base list. [14]\n 'ignoreReviewers', // string[]: List of usernames that should *not* be added as reviewers, even if they are in the `reviewers` list or CODEOWNERS. Useful for filtering out bots or users on leave. [2]\n ],\n\n // --- Common / Helper Options ---\n common: [\n 'expandCodeOwnersGroups', // boolean: If true, Renovate expands CODEOWNERS groups (like `@org/team`) into individual members before applying logic like `reviewersSampleSize`. Supported on GitLab [3, 4, 6] and potentially other platforms supporting group expansion [1].\n 'filterUnavailableUsers', // boolean: (Note: Supported on GitLab [3, 5]) Check if assigned/requested users are actually available/have access on the platform before adding them. [3, 5, 8, 12, 13] Prevents errors if a listed user doesn't exist or can't access the repository.\n // 'assignAutomerge', // boolean: (Note: From [14], likely deprecated or less common) Assign reviewers/assignees even if automerge is enabled. Default Renovate behavior is *not* to add assignees/reviewers if automerge is set, to reduce noise, unless the PR fails checks. [2, 7]\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from './types';\n\nexport const configMigration = [\n 'configMigration', // boolean: Enable this to get config migration PRs when needed\n] as const satisfies JsoncSortKeysOrder;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const legacyAdminConfig = {\n // --- Onboarding Configuration ---\n // Controls the behavior of the initial \"onboarding\" PR that Renovate creates\n // when it's first enabled on a repository, typically adding the renovate.json config file.\n onboarding: [\n 'onboarding', // boolean: Enables or disables the onboarding process. If false, Renovate might not start if no config exists.\n 'onboardingBranch', // string: The name of the branch to use for the onboarding PR (e.g., \"renovate/configure\").\n 'onboardingCommitMessage', // string: Custom commit message for the onboarding commit.\n 'onboardingPrTitle', // string: Custom title for the onboarding PR.\n 'onboardingConfig', // RenovateSharedConfig: A minimal Renovate configuration object to propose in the onboarding PR.\n 'onboardingConfigFileName', // string: The filename for the proposed configuration file (e.g., \"renovate.json\", \".github/renovate.json\").\n 'onboardingRebaseCheckbox', // boolean: Adds a checkbox to the onboarding PR body allowing users to request Renovate to rebase the PR. (Note: Specific to platform integration).\n 'onboardingNoDeps', // 'auto' | 'enabled' | 'disabled': Controls whether the onboarding PR should include initial dependency updates or just the configuration file. 'auto' usually means include updates if few dependencies exist.\n ],\n\n // --- Configuration Requirements ---\n // Defines requirements for the Renovate configuration itself.\n configurationRequirements: [\n 'requireConfig', // RequiredConfig ('required', 'optional', 'ignored'): Specifies whether a Renovate configuration file (`renovate.json`, etc.) is mandatory for Renovate to run on the repository. 'ignored' might be used in centrally managed setups.\n ],\n\n // --- Execution Environment & Logging (Legacy/Admin) ---\n // These settings are often more relevant for self-hosted Renovate instances or specific admin controls.\n executionLogging: [\n 'localDir', // string: Specifies a local directory path, potentially used for caching or temporary files in self-hosted environments. (Note: Less common in typical SaaS usage).\n 'logContext', // string: Adds a custom string/context to log messages, helpful for identifying logs from specific Renovate instances or runs.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const renovateConfig = {\n // --- Metadata ---\n metadata: [\n 'description', // string | string[]: Description for the repository (often used in platform UI).\n ],\n\n // --- Base Repository & Branching Strategy ---\n repository: [\n 'baseBranches', // string[]: List of base branches Renovate should operate on (e.g., [\"main\", \"develop\"]).\n 'defaultBranch', // string: Explicitly specifies the default branch if detection fails or needs override. (Note: Often detected automatically).\n 'useBaseBranchConfig', // UseBaseBranchConfigType: How to handle configuration when running on non-default base branches ('merge' or 'none').\n 'gitAuthor', // string: Custom git author for commits made by Renovate (e.g., \"Renovate Bot <bot@renovateapp.com>\").\n ],\n\n // --- Fork Handling ---\n forkHandling: [\n 'forkProcessing', // 'auto' | 'enabled' | 'disabled': How Renovate should handle running on repository forks. 'auto' usually disables on forks.\n 'isFork', // boolean: Explicitly tells Renovate if the current repository is a fork. (Usually detected).\n 'forkModeDisallowMaintainerEdits', // boolean: When running on a fork, disallow maintainers of the upstream repo from editing the PR.\n ],\n\n // --- Dependency Dashboard ---\n dependencyDashboard: [\n 'dependencyDashboard', // boolean: Enables or disables the creation and management of the Dependency Dashboard issue.\n 'dependencyDashboardTitle', // string: Custom title for the Dependency Dashboard issue.\n 'dependencyDashboardHeader', // string: Custom content to add to the top of the Dependency Dashboard body.\n 'dependencyDashboardFooter', // string: Custom content to add to the bottom of the DependencyDashboard body.\n 'dependencyDashboardLabels', // string[]: Labels to add to the Dependency Dashboard issue.\n 'dependencyDashboardChecks', // Record<string, string>: Configure approval checkboxes within the dashboard.\n 'dependencyDashboardAutoclose', // boolean: Automatically close the Dependency Dashboard issue if there are no pending updates.\n 'dependencyDashboardOSVVulnerabilitySummary', // 'none' | 'all' | 'unresolved': Controls the display of OSV vulnerability summaries in the dashboard.\n 'customizeDashboard', // Record<string, string>: Further customization options for the dashboard's appearance or behavior. (Note: Seems like a flexible key-value store for dashboard tweaks).\n // 'dependencyDashboardIssue', // number: Internal state, the number of the existing dashboard issue. (Note: Likely not user-configured directly).\n ],\n\n // --- Rate Limiting & Concurrency ---\n limits: [\n 'branchConcurrentLimit', // number | null: Maximum number of branches Renovate can create concurrently.\n 'prConcurrentLimit', // number: Maximum number of Pull Requests Renovate can create or update concurrently.\n 'prHourlyLimit', // number: Maximum number of Pull Requests Renovate can create per hour.\n ],\n\n // --- Branch/Commit Naming (Specific Overrides/Additions) ---\n namingSpecifics: [\n 'branchTopic', // string: A specific topic to use for branch naming, potentially overriding `commitMessageTopic`. (Note: Granular control over branch naming).\n 'additionalBranchPrefix', // string: Another prefix to add *after* the main `branchPrefix` but before the rest of the branch name. (Note: For more complex branch naming schemes).\n 'commitBody', // string: Explicitly set the entire commit message body, potentially overriding templates. (Note: Less common than using templating options).\n ],\n\n // --- Registry & Network Configuration ---\n registriesNetwork: [\n 'hostRules', // HostRule[]: Rules for authentication, endpoints, or other behaviors specific to certain hosts (e.g., private registries).\n 'defaultRegistryUrls', // string[]: Default registry URLs to use for package managers if not otherwise specified.\n 'registryUrls', // string[] | null: Overrides detected registry URLs.\n 'registryAliases', // Record<string, string>: Aliases for registry URLs.\n 's3Endpoint', // string: Custom endpoint URL for S3 interactions (e.g., for reports).\n 's3PathStyle', // boolean: Use path-style access for S3 instead of virtual-hosted style.\n ],\n\n // --- Vulnerability Management ---\n vulnerabilities: [\n 'vulnerabilityAlerts', // RenovateSharedConfig: Configuration specific to how vulnerability updates are handled (can inherit shared config structure).\n 'osvVulnerabilityAlerts', // boolean: Specifically enables checking for vulnerabilities using the OSV database.\n ],\n vulnerabilitiesShared: [\n 'vulnerabilitySeverity', // string: Minimum vulnerability severity level to report or act upon (e.g., \"high\", \"critical\").\n ],\n\n // --- Customization & Extensibility ---\n customization: [\n 'customManagers', // CustomManager[]: Definitions for custom package managers not built into Renovate.\n 'customDatasources', // Record<string, CustomDatasourceConfig>: Definitions for custom datasources to find package versions.\n 'secrets', // Record<string, string>: A key-value store for secrets needed during Renovate runs (e.g., tokens accessed via `process.env`). (Note: For securely passing sensitive data).\n 'env', // UserEnv: User-defined environment variables to be set when Renovate executes package manager commands.\n ],\n\n // --- Reporting ---\n reporting: [\n 'reportPath', // string: Path (for file type) or bucket/key (for S3 type) for saving run reports.\n 'reportType', // 'logging' | 'file' | 's3' | null: How and where to generate reports about Renovate runs.\n ],\n\n // --- Configuration Inheritance ---\n inheritance: [\n 'inheritConfig', // boolean: Whether to inherit configuration from a shared repository (defaults to true for Renovate App/Enterprise).\n 'inheritConfigFileName', // string: Custom filename for the shared configuration file in the inheritance repository.\n 'inheritConfigRepoName', // string: Specify the repository from which to inherit configuration.\n 'inheritConfigStrict', // boolean: If true, errors during config inheritance will stop the Renovate run.\n 'ignorePresets', // string[]: List of preset configurations (from `extends`) to ignore.\n 'force', // RenovateConfig: A nested configuration object used for forcing specific settings (often via CLI).\n ],\n\n // --- Process Control & Execution ---\n processControl: [\n 'skipInstalls', // boolean | null: Skip package manager install/build steps (use with caution, may break updates).\n 'updateInternalDeps', // boolean: Whether to update dependencies that point to other modules within the same monorepo.\n 'cloneSubmodulesFilter', // string[]: Filters to apply when deciding which submodules to clone.\n 'fetchChangeLogs', // FetchChangeLogsOptions: Options controlling if and how changelogs are fetched.\n 'logLevelRemap', // LogLevelRemap[]: Rules to remap log levels from specific modules or contexts.\n 'statusCheckNames', // Record<StatusCheckKey, string | null>: Override the names of status checks Renovate looks for or reports.\n 'configWarningReuseIssue', // boolean: If true, configuration warnings will be posted as comments on a single, reused issue instead of creating new ones.\n 'postUpdateOptions', // string[]: Options passed to post-update scripts or hooks. (Note: Related to `postUpgradeTasks` in SharedConfig, perhaps providing context/flags).\n ],\n\n // --- Constraints ---\n constraints: [\n 'constraints', // Record<string, string>: Define version constraints for dependencies (e.g., force a specific version range globally).\n 'constraintsFiltering', // ConstraintsFilter: Control how constraints are applied ('none', 'strict', 'loose').\n ],\n\n // --- Internal State / Contextual (Likely not configured directly in main config) ---\n internalContext: [\n 'depName', // string: The name of the specific dependency being processed in a rule context.\n 'baseBranch', // string: The specific base branch being processed in the current run.\n 'branchList', // string[]: List of branches detected in the repository.\n 'errors', // ValidationMessage[]: Collection of configuration errors found during parsing.\n 'fileList', // string[]: List of files relevant to the current operation.\n 'packageFile', // string: The specific package file being processed.\n 'repoIsOnboarded', // boolean: Flag indicating if the repository onboarding process is complete.\n 'repoIsActivated', // boolean: Flag indicating if Renovate is activated for the repository.\n 'warnings', // ValidationMessage[]: Collection of configuration warnings found during parsing.\n 'checkedBranches', // string[]: List of branches that have already been processed in the current run.\n 'sharedVariableName', // string: Name of a variable used for sharing data between runs or stages. (Note: Advanced/internal usage).\n ],\n\n // --- PackageRules ---\n packageRules: [\n 'packageRules', // PackageRule[]: The core mechanism for customizing Renovate's behavior for specific dependencies or groups.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from '../base/types';\nimport { assigneesAndReviewersConfig } from '../base/assignees-and-reviewers-config';\nimport { configMigration } from '../base/config-migration';\nimport { legacyAdminConfig } from '../base/legacy-admin-config';\nimport { renovateConfig } from '../base/renovate-config';\nimport { renovateSharedConfig } from '../base/renovate-shared-config';\nimport { updateConfig } from '../base/update-config';\n\n// RenovateConfig\n// LegacyAdminConfig,\n// RenovateSharedConfig,\n// UpdateConfig<PackageRule>,\n// AssigneesAndReviewersConfig,\n// ConfigMigration,\nexport const rootOrder = [\n //? core config\n ...renovateSharedConfig.config,\n ...renovateConfig.metadata,\n ...renovateConfig.repository,\n ...renovateConfig.forkHandling,\n ...renovateSharedConfig.branch,\n\n //? migration & dashboard\n ...configMigration,\n ...renovateConfig.dependencyDashboard,\n ...renovateSharedConfig.dependencyDashboard,\n\n //? schedule\n ...renovateSharedConfig.schedule,\n ...renovateSharedConfig.automerge,\n ...renovateConfig.limits,\n\n //? grouping\n ...renovateSharedConfig.grouping,\n ...renovateSharedConfig.commit,\n ...renovateSharedConfig.pr,\n ...renovateSharedConfig.labels,\n ...renovateSharedConfig.filtering,\n ...renovateConfig.namingSpecifics,\n ...assigneesAndReviewersConfig.assignees,\n ...assigneesAndReviewersConfig.reviewers,\n ...assigneesAndReviewersConfig.common,\n\n //? registriesNetwork\n ...renovateConfig.registriesNetwork,\n\n //? vulnerabilities\n ...renovateConfig.vulnerabilities,\n ...renovateConfig.vulnerabilitiesShared,\n\n //? rarely\n ...renovateSharedConfig.advanced,\n ...renovateConfig.customization,\n ...renovateConfig.reporting,\n ...renovateConfig.inheritance,\n ...renovateConfig.processControl,\n ...renovateConfig.constraints,\n ...renovateConfig.internalContext,\n ...legacyAdminConfig.onboarding,\n ...legacyAdminConfig.executionLogging,\n ...legacyAdminConfig.configurationRequirements,\n\n //? overrides\n ...updateConfig.semantic_versioning,\n ...updateConfig.pinning_digests,\n ...updateConfig.lock_file,\n ...updateConfig.special_cases,\n ...renovateConfig.packageRules,\n] as const as JsoncSortKeysOrder;\n","import type { TypedFlatConfigItem } from '@antfu/eslint-config';\nimport { packageRuleOrder } from './order/package-rule';\nimport { rootOrder } from './order/root';\n\nexport const renovateJsonRules: TypedFlatConfigItem = {\n name: 'culur/renovate-json/rules',\n files: [\n // https://docs.renovatebot.com/configuration-options/#configuration-options\n 'renovate.json',\n 'renovate.json5',\n '.github/renovate.json',\n '.github/renovate.json5',\n '.gitlab/renovate.json',\n '.gitlab/renovate.json5',\n '.renovaterc',\n '.renovaterc.json',\n '.renovaterc.json5',\n ],\n rules: {\n 'jsonc/sort-keys': [\n 'error',\n {\n pathPattern: '^$',\n order: rootOrder,\n },\n {\n pathPattern: '^packageRules\\\\[\\\\d+\\\\]$',\n order: packageRuleOrder,\n },\n ],\n },\n};\n","import type { Rules, TypedFlatConfigItem } from '@antfu/eslint-config';\nimport type { Linter } from 'eslint';\n\ntype YamlSortKeys =\n NonNullable<Rules['yaml/sort-keys']> extends Linter.RuleEntry<infer F>\n ? F\n : never;\n\ntype YamlSortKeysRecord = YamlSortKeys[0];\n\nexport const yamlOrder = {\n type: 'asc',\n caseSensitive: false,\n natural: true,\n} as const;\n\nexport const yarnrcYmlSortKeys = {\n packageExtensions: {\n packages: {\n pathPattern: /^packageExtensions$/.source,\n order: yamlOrder,\n },\n dependenciesTypes: {\n pathPattern: /^packageExtensions(?:\\[\".+\"\\]|\\.[^.]+)$/.source,\n order: yamlOrder,\n },\n childPackages: {\n pathPattern:\n /^packageExtensions(?:\\[\".+\"\\]|\\.[^.]+)\\.(?:dependencies|peerDependencies|peerDependenciesMeta)$/\n .source,\n order: yamlOrder,\n },\n },\n} satisfies Record<string, Record<string, YamlSortKeysRecord>>;\n\nexport const yarnrcYmlRules: TypedFlatConfigItem = {\n name: 'culur/yarnrc-yml/rules',\n files: ['.yarnrc.yml'],\n rules: {\n 'yaml/sort-keys': [\n 'error',\n yarnrcYmlSortKeys.packageExtensions.packages,\n yarnrcYmlSortKeys.packageExtensions.dependenciesTypes,\n yarnrcYmlSortKeys.packageExtensions.childPackages,\n ],\n },\n};\n","import type {\n Awaitable,\n Rules,\n TypedFlatConfigItem,\n} from '@antfu/eslint-config';\nimport type { Linter } from 'eslint';\n\nexport type OverrideConfig = {\n name: NonNullable<TypedFlatConfigItem['name']>;\n} & (\n | { partialConfig: TypedFlatConfigItem } // merge with the original config\n | { entireConfig: () => Awaitable<TypedFlatConfigItem> } // replace the entire config\n);\n\nexport const defineOverride = (config: OverrideConfig) =>\n [\n config.name,\n 'partialConfig' in config ? config.partialConfig : config.entireConfig,\n ] as const;\n\nexport type RuleEntry<T extends keyof Rules> = Rules[T] extends\n | Linter.RuleEntry<infer F>\n | undefined\n ? F\n : never;\n","import antfu from '@antfu/eslint-config';\nimport { defineHasPackages } from '@culur/utils-packages';\nimport { importsRules, sortPackageJson, vueRules } from './overrides';\nimport { testRules } from './overrides/test-rules';\nimport { filenameRules, renovateJsonRules, yarnrcYmlRules } from './rules';\nimport { defineOverride } from './types';\n\nexport default function defineConfig(\n ...[options = {}, ...userConfigs]: Parameters<typeof antfu>\n): ReturnType<typeof antfu> {\n const { hasVue } = defineHasPackages({ vue: !!options.vue });\n\n const config = antfu(\n {\n isInEditor: false,\n stylistic: false,\n formatters: false,\n ...options,\n },\n filenameRules,\n yarnrcYmlRules,\n renovateJsonRules,\n ...userConfigs,\n );\n\n config.override(...defineOverride(importsRules));\n config.override(...defineOverride(sortPackageJson));\n config.override(...defineOverride(testRules));\n\n if (hasVue()) {\n config.override(...defineOverride(vueRules));\n }\n\n return config;\n}\n"]}
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ var importsRules = {
10
10
  name: "antfu/imports/rules",
11
11
  partialConfig: {
12
12
  rules: {
13
- "import/no-deprecated": "error",
13
+ // 'import/no-deprecated': 'error',
14
14
  "import/consistent-type-specifier-style": ["error", "prefer-top-level"]
15
15
  }
16
16
  }
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/overrides/imports-rules.ts","../src/overrides/sort-package-json.ts","../src/overrides/test-rules.ts","../src/overrides/vue-rules.ts","../src/rules/filename.ts","../src/rules/renovate-json/base/package-rule.ts","../src/rules/renovate-json/base/renovate-shared-config.ts","../src/rules/renovate-json/base/update-config.ts","../src/rules/renovate-json/order/package-rule.ts","../src/rules/renovate-json/base/assignees-and-reviewers-config.ts","../src/rules/renovate-json/base/config-migration.ts","../src/rules/renovate-json/base/legacy-admin-config.ts","../src/rules/renovate-json/base/renovate-config.ts","../src/rules/renovate-json/order/root.ts","../src/rules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;AAClD,EAAA,MAAA,CAAO,QAAS,CAAA,GAAG,cAAe,CAAA,SAAS,CAAC,CAAA;AAE5C,EAAA,IAAI,QAAU,EAAA;AACZ,IAAA,MAAA,CAAO,QAAS,CAAA,GAAG,cAAe,CAAA,QAAQ,CAAC,CAAA;AAAA;AAG7C,EAAO,OAAA,MAAA;AACT","file":"index.js","sourcesContent":["import type { OverrideConfig } from '~/types';\n\nexport const importsRules: OverrideConfig = {\n name: 'antfu/imports/rules',\n partialConfig: {\n rules: {\n 'import/no-deprecated': 'error',\n 'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],\n },\n },\n};\n","import type { OverrideConfig } from '~/types';\nimport assert from 'node:assert';\nimport { sortPackageJson as sortPackageJsonAntfu } from '@antfu/eslint-config';\n\nexport const sortPackageJson: OverrideConfig = {\n name: 'antfu/sort/package-json',\n async entireConfig() {\n const [configItem] = await sortPackageJsonAntfu();\n assert(typeof configItem.name === 'string');\n assert(typeof configItem.rules === 'object');\n\n const sortKeys = configItem.rules['jsonc/sort-keys'];\n assert(typeof sortKeys === 'object');\n\n const [, options] = sortKeys;\n assert(typeof options === 'object');\n\n options.order = [\n //? Project\n 'publisher',\n 'name',\n 'displayName',\n 'version',\n 'description',\n 'private',\n 'publishConfig',\n\n //? Repository\n 'repository',\n 'bugs',\n 'homepage',\n 'funding',\n\n //? Author & license\n 'contributors',\n 'author',\n 'license',\n\n //? https://code.visualstudio.com/api/references/extension-manifest\n 'keywords',\n 'categories',\n\n //? CDN\n 'unpkg',\n 'jsdelivr',\n\n //? Export\n 'type', // module or commonjs\n 'main',\n 'types',\n 'typings', // synonymous with types\n 'typesVersions',\n 'exports',\n 'bin',\n 'files',\n 'workspaces',\n\n //? https://code.visualstudio.com/api/references/extension-manifest\n 'icon',\n 'activationEvents',\n 'contributes',\n\n //? Scripts\n 'scripts',\n\n //? Node & packageManager\n 'volta',\n 'engines',\n 'packageManager',\n\n //? Dependencies\n 'dependencies',\n 'devDependencies',\n 'peerDependencies',\n 'peerDependenciesMeta',\n 'bundleDependencies',\n 'optionalDependencies',\n\n 'pnpm',\n 'overrides',\n 'resolutions',\n\n //? Lib config\n 'husky',\n 'simple-git-hooks',\n 'lint-staged',\n 'eslintConfig',\n ];\n\n return configItem;\n },\n};\n","import type { Linter } from 'eslint';\nimport type { OverrideConfig } from '~/types';\nimport vitest from '@vitest/eslint-plugin';\n\ndeclare module '@antfu/eslint-config' {\n export interface Rules {\n // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md\n 'test/valid-title': Linter.RuleEntry<\n [\n {\n ignoreTypeOfDescribeName?: boolean;\n allowArguments?: boolean;\n disallowedWords?: string[];\n mustNotMatch?: string[];\n mustMatch?: string[];\n },\n ]\n >;\n }\n}\n\nexport const testRules: OverrideConfig = {\n name: 'antfu/test/rules',\n partialConfig: {\n // Same `include` in @culur/config-vite\n files: ['**/*\\\\.{test,test-d}.?(c|m)[jt]s?(x)'],\n rules: {\n ...vitest.configs.recommended.rules,\n 'test/valid-title': ['error', { allowArguments: true }],\n 'test/expect-expect': [\n 'error',\n {\n assertFunctionNames: [\n 'expect',\n 'expectTypeOf',\n 'assert',\n 'assertType',\n ],\n },\n ],\n },\n },\n};\n","import type { OverrideConfig } from '~/types';\n\nexport const vueRules: OverrideConfig = {\n name: 'antfu/vue/rules',\n partialConfig: {\n rules: {\n 'vue/singleline-html-element-content-newline': 'off',\n 'vue/multiline-html-element-content-newline': 'off',\n 'vue/padding-line-between-blocks': ['error', 'always'],\n 'vue/component-name-in-template-casing': [\n 'error',\n 'PascalCase',\n { registeredComponentsOnly: false },\n ],\n },\n },\n};\n","import type { TypedFlatConfigItem } from '@antfu/eslint-config';\n\nexport const filenameRules: TypedFlatConfigItem = {\n name: 'culur/filename/rules',\n files: [\n '**/*.?(c|m){js,ts}?(x)',\n '**/*.vue',\n '**/*.md?(x)',\n '**/*.json?(c)',\n '**/*.y?(a)ml',\n '**/*.gql',\n '**/*.graphql',\n ],\n rules: {\n 'unicorn/filename-case': [\n 'error',\n {\n case: 'kebabCase',\n ignore: ['README.md', 'CHANGELOG.md'],\n },\n ],\n },\n};\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const packageRule = {\n // --- Metadata ---\n metadata: [\n 'description', // string | string[]: Human-readable description of what this package rule does, useful for documenting complex configurations.\n ],\n\n // --- Range Strategy ---\n rangeStrategy: [\n 'rangeStrategy', // 'auto' | 'pin' | 'bump' | 'replace' | 'widen' | 'update-lockfile' | 'in-range-only': Determines how to modify or update existing ranges\n ],\n\n // --- Rule Matching Criteria (Core) ---\n // These properties determine *which* dependencies or updates this rule applies to.\n matching: [\n 'matchPackageNames', // string[]: Apply rule if dependency name matches any in this list (e.g., [\"react\", \"lodash\"]).\n 'matchDepNames', // string[]: Apply rule if dependency name matches (similar to matchPackageNames, can be broader).\n 'matchManagers', // string[]: Apply rule if the dependency is managed by one of these package managers (e.g., [\"npm\", \"docker\"]).\n 'matchDatasources', // string[]: Apply rule if the dependency's version source matches (e.g., [\"npm\", \"git-tags\", \"docker\"]).\n 'matchDepTypes', // string[]: Apply rule if the dependency type matches (e.g., [\"dependencies\", \"devDependencies\", \"peerDependencies\"]).\n 'matchUpdateTypes', // UpdateType[]: Apply rule based on the type of update (e.g., [\"major\", \"minor\", \"patch\", \"pin\", \"digest\"]).\n 'matchCategories', // string[]: Apply rule if dependency belongs to specified categories (defined via extractConfigs or presets like \"linters\").\n 'matchCurrentVersion', // string: Apply rule if the *currently installed* version matches this pattern (supports regex).\n 'matchSourceUrls', // string[]: Apply rule if the dependency's source repository URL matches any pattern in the list.\n 'matchFileNames', // string[]: Apply rule if the dependency is found in a file matching any pattern in this list.\n 'matchBaseBranches', // string[]: Apply rule only when Renovate is running against one of these base branches.\n 'matchRepositories', // string[]: Apply rule only when Renovate is running in a repository matching one of these names.\n 'matchCurrentValue', // string: Apply rule if the current value (e.g., Docker tag) matches this pattern.\n 'matchNewValue', // string: Apply rule if the proposed new value/version matches this pattern.\n 'matchCurrentAge', // string: Apply rule based on how long the current version has been used (e.g., \"> 3 months\").\n 'matchConfidence', // MergeConfidence[]: Apply rule based on Renovate's calculated merge confidence level (e.g., [\"high\", \"very-high\"]).\n 'matchJsonata', // string[]: Advanced matching using JSONata queries against dependency metadata.\n ],\n\n // --- Registry & Network Configuration ---\n registriesNetwork: [\n 'registryUrls', // string[] | null: Override the global or default registry URLs specifically for dependencies matched by this rule.\n ],\n\n // --- Vulnerability Specific Matching ---\n vulnerabilities: [\n 'isVulnerabilityAlert', // boolean: (Note: Likely an internal flag set by Renovate, used to *match* rules against updates that *are* vulnerability fixes, rather than being set directly by the user). Apply rule if the update addresses a known vulnerability.\n 'vulnerabilityFixVersion', // string: Apply rule if the vulnerability fix is targeting this specific version.\n ],\n vulnerabilitiesShared: [\n 'vulnerabilitySeverity', // string: Minimum vulnerability severity level to report or act upon (e.g., \"high\", \"critical\").\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const renovateSharedConfig = {\n // --- Core Configuration ---\n config: [\n '$schema', // string: Reference to the JSON schema for validation.\n 'extends', // string[]: Specifies configuration presets to inherit from.\n 'enabled', // boolean: Enables or disables Renovate for the repository or rule.\n 'enabledManagers', // string[]: List of package managers to enable (e.g., [\"npm\", \"docker\"]).\n ],\n\n // --- Dependency Dashboard ---\n dependencyDashboard: [\n 'dependencyDashboardApproval', // boolean: Requires manual approval via the Dependency Dashboard checkbox before a PR is created.\n ],\n\n // --- Scheduling and Timezone ---\n schedule: [\n 'schedule', // string[]: Defines when Renovate should run using cron syntax or presets.\n 'timezone', // string: Timezone to use for scheduling (e.g., \"UTC\", \"America/New_York\").\n ],\n\n // --- Automerge ---\n automerge: [\n 'automerge', // boolean: Enables automatic merging of PRs when conditions are met.\n 'automergeType', // 'pr' | 'branch-push' | 'pr-comment': Specifies the automerge mechanism. Deprecated/renamed? (Note: Not in original list, added for context, potentially maps to other settings).\n 'automergeStrategy', // MergeStrategy ('auto', 'merge', 'rebase', 'squash'): The merge strategy to use for automerging.\n 'automergeSchedule', // string[]: Schedules automerging attempts independently of PR updates.\n 'internalChecksAsSuccess', // boolean: Considers Renovate's internal checks as successful for automerge status checks.\n 'platformAutomerge', // boolean: Use the platform's native automerge feature if available. (Note: Not in original list, but common).\n ],\n\n // --- Branch Management ---\n branch: [\n 'branchPrefix', // string: Prefix added to all Renovate-created branches.\n 'branchName', // string: Template for naming Renovate branches.\n 'branchNameStrict', // boolean: If true, enforces stricter validation for branch names.\n 'hashedBranchLength', // number: Length of the hash appended to branch names when needed.\n 'pruneBranchAfterAutomerge', // boolean: Automatically delete the branch after a PR is automerged.\n // 'branchPrefixOld', // string: Potentially deprecated or for specific migration scenarios.\n ],\n\n // --- Grouping Dependencies ---\n grouping: [\n 'group', // GroupConfig: More detailed configuration for grouping dependencies.\n 'groupName', // string: A custom name for a group of dependencies updated together in one PR.\n 'groupSlug', // string: A URL-friendly slug for the group name.\n ],\n\n // --- Commit Management ---\n commit: [\n 'semanticCommits', // 'auto' | 'enabled' | 'disabled': Controls the use of semantic commit messages.\n 'semanticCommitType', // string: The type used in semantic commits (e.g., \"fix\", \"chore\").\n 'semanticCommitScope', // string | null: The scope used in semantic commits.\n 'commitMessagePrefix', // string: Prefix added to all commit messages.\n 'commitMessage', // string: Template for the commit message body.\n 'commitMessageAction', // string: Action part of the commit message (e.g., \"Update\", \"Pin\").\n 'commitMessageTopic', // string: Topic part of the commit message (e.g., dependency name).\n 'commitMessageExtra', // string: Additional details appended to the commit message.\n 'commitMessageLowerCase', // 'auto' | 'never': Controls the casing of the commit message header.\n 'platformCommit', // PlatformCommitOptions: Platform-specific commit options.\n ],\n\n // --- Pull Request (PR) Management ---\n pr: [\n 'prCreation', // 'immediate' | 'not-pending' | 'status-success' | 'approval': Controls when PRs are created based on checks/approvals.\n 'draftPR', // boolean: Creates PRs as drafts initially.\n 'recreateClosed', // boolean: Recreate PRs if they were manually closed without merging.\n 'recreateWhen', // RecreateWhen: Specifies conditions under which closed PRs should be recreated.\n 'prBodyColumns', // string[]: Specifies which columns to include in the PR body's dependency table.\n 'prBodyDefinitions', // Record<string, string>: Custom definitions/text for sections within the PR body.\n 'prPriority', // number: Sets a priority level for the PR (platform-dependent).\n 'confidential', // boolean: Marks the PR as confidential (platform-dependent, e.g., GitLab).\n 'milestone', // number: Assigns the PR to a specific milestone number.\n ],\n\n // --- Labels ---\n labels: [\n 'labels', // string[]: List of labels to be added to created PRs.\n 'addLabels', // string[]: Additional labels to add (often used in package rules).\n 'keepUpdatedLabel', // string: Label indicating a PR should be kept up-to-date by Renovate, even if tests fail.\n 'rebaseLabel', // string: Label that triggers Renovate to rebase the PR.\n 'stopUpdatingLabel', // string: Label that tells Renovate to stop updating a specific PR.\n ],\n\n // --- Dependency Filtering and Matching ---\n filtering: [\n 'ignoreDeps', // string[]: List of dependency names to ignore completely.\n 'ignorePaths', // string[]: List of file paths or glob patterns to ignore during scanning.\n 'includePaths', // string[]: List of file paths or glob patterns to explicitly include (if others are ignored).\n 'fileMatch', // string[]: Glob patterns for matching dependency files.\n 'respectLatest', // boolean: Whether to strictly respect the 'latest' tag instead of potentially newer versions.\n 'ignoreTests', // boolean: Option to ignore dependencies typically found only in test/development scopes.\n ],\n\n // --- Advanced / Less Common ---\n advanced: [\n 'postUpgradeTasks', // PostUpgradeTasks: Defines commands or scripts to run after dependency upgrades.\n 'npmrc', // string: Allows providing custom .npmrc content for Renovate's operations.\n 'npmrcMerge', // boolean: Whether to merge provided npmrc content with existing files.\n 'changelogUrl', // string: A custom URL template for linking to changelogs.\n 'gitIgnoredAuthors', // string[]: List of git commit authors whose commits should be ignored by Renovate (e.g., bots).\n 'unicodeEmoji', // boolean: Use Unicode emojis (e.g., ✨) instead of text alternatives (e.g., :sparkles:).\n 'suppressNotifications', // string[]: List of notification types to suppress.\n 'productLinks', // Record<string, string>: Custom links for product documentation shown in PRs.\n 'rebaseWhen', // string ('auto', 'behind-base-branch', 'conflicted', 'never'): Conditions under which Renovate should rebase PRs.\n // 'manager', // string: Usually context-specific, identifies the package manager being used.\n // 'repository', // string: Usually context-specific, the name of the repository.\n // 'repositoryCache', // RepositoryCacheConfig: Configuration for caching repository data.\n // 'repositoryCacheType', // RepositoryCacheType: Type of repository cache ('local', 'shared', etc.).\n // 'autoReplaceGlobalMatch',// boolean: Advanced feature related to global replacements (less common).\n // 'force', // RenovateConfig: Allows forcing specific configurations, overriding others (use with caution).\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const updateConfig = {\n // --- Semantic Versioning Updates ---\n // Based on standard SemVer (MAJOR.MINOR.PATCH) changes.\n semantic_versioning: [\n 'major', // T: A change in the MAJOR version number (e.g., 1.x.x -> 2.0.0).\n 'minor', // T: A change in the MINOR version number (e.g., 1.2.x -> 1.3.0).\n 'patch', // T: A change in the PATCH version number (e.g., 1.2.3 -> 1.2.4).\n ],\n\n // --- Pinning and Digest Updates ---\n // Used for fixing to exact versions/digests.\n pinning_digests: [\n 'pin', // T: Updating from a range to a specific fixed version.\n 'digest', // T: Updating the content digest (hash) of a dependency (e.g., Docker image SHA).\n 'pinDigest', // T: An update involving both pinning and digest update.\n ],\n\n // --- Lock File Maintenance ---\n // Updates primarily related to the lock file.\n lock_file: [\n 'lockFileMaintenance', // T: Maintenance updates within the lock file without changing direct dependencies.\n 'lockfileUpdate', // T: General updates confined to the lock file. (Note: Potential overlap with lockFileMaintenance).\n ],\n\n // --- Special Update Cases ---\n // Covers less common or non-standard update scenarios.\n special_cases: [\n 'rollback', // T: Reverting a dependency to a previous version.\n 'bump', // T: A non-specific version increase (e.g., for date-based versions or non-SemVer).\n 'replacement', // T: Replacing one dependency with another.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from '../base/types';\nimport { packageRule } from '../base/package-rule';\nimport { renovateSharedConfig } from '../base/renovate-shared-config';\nimport { updateConfig } from '../base/update-config';\n\n// PackageRule\n// RenovateSharedConfig\n// UpdateConfig\nexport const packageRuleOrder = [\n //? core config\n ...packageRule.metadata,\n ...renovateSharedConfig.config,\n ...renovateSharedConfig.branch,\n\n //? migration & dashboard\n ...renovateSharedConfig.dependencyDashboard,\n\n //? schedule\n ...renovateSharedConfig.schedule,\n ...renovateSharedConfig.automerge,\n\n //? grouping\n ...renovateSharedConfig.grouping,\n ...renovateSharedConfig.commit,\n ...renovateSharedConfig.pr,\n ...renovateSharedConfig.labels,\n ...renovateSharedConfig.filtering,\n\n //? rangeStrategy\n ...packageRule.rangeStrategy,\n\n //? matching\n ...packageRule.matching,\n ...packageRule.registriesNetwork,\n\n //? vulnerabilities\n ...packageRule.vulnerabilities,\n ...packageRule.vulnerabilitiesShared,\n\n //? rarely\n ...renovateSharedConfig.advanced,\n\n //? overrides\n ...updateConfig.semantic_versioning,\n ...updateConfig.pinning_digests,\n ...updateConfig.lock_file,\n ...updateConfig.special_cases,\n] as const as JsoncSortKeysOrder;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const assigneesAndReviewersConfig = {\n // --- Assignees ---\n assignees: [\n 'assignees', // string[]: Explicit list of usernames to assign to the PR.\n 'assigneesFromCodeOwners', // boolean: Assign users listed as owners in the CODEOWNERS file.\n 'assigneesSampleSize', // number: Select a random sample of this size from the potential assignees (either from `assignees` list or CODEOWNERS). [1]\n ],\n\n // --- Reviewers ---\n reviewers: [\n 'reviewers', // string[]: Explicit list of usernames to request reviews from.\n 'reviewersFromCodeOwners', // boolean: Request reviews from users listed as owners in the CODEOWNERS file.\n 'reviewersSampleSize', // number: Select a random sample of this size from the potential reviewers (either from `reviewers` list or CODEOWNERS).\n 'additionalReviewers', // string[]: Add these users as reviewers *in addition* to any specified in `reviewers` or derived from CODEOWNERS. Useful for adding specific reviewers in package rules without overriding the base list. [14]\n 'ignoreReviewers', // string[]: List of usernames that should *not* be added as reviewers, even if they are in the `reviewers` list or CODEOWNERS. Useful for filtering out bots or users on leave. [2]\n ],\n\n // --- Common / Helper Options ---\n common: [\n 'expandCodeOwnersGroups', // boolean: If true, Renovate expands CODEOWNERS groups (like `@org/team`) into individual members before applying logic like `reviewersSampleSize`. Supported on GitLab [3, 4, 6] and potentially other platforms supporting group expansion [1].\n 'filterUnavailableUsers', // boolean: (Note: Supported on GitLab [3, 5]) Check if assigned/requested users are actually available/have access on the platform before adding them. [3, 5, 8, 12, 13] Prevents errors if a listed user doesn't exist or can't access the repository.\n // 'assignAutomerge', // boolean: (Note: From [14], likely deprecated or less common) Assign reviewers/assignees even if automerge is enabled. Default Renovate behavior is *not* to add assignees/reviewers if automerge is set, to reduce noise, unless the PR fails checks. [2, 7]\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from './types';\n\nexport const configMigration = [\n 'configMigration', // boolean: Enable this to get config migration PRs when needed\n] as const satisfies JsoncSortKeysOrder;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const legacyAdminConfig = {\n // --- Onboarding Configuration ---\n // Controls the behavior of the initial \"onboarding\" PR that Renovate creates\n // when it's first enabled on a repository, typically adding the renovate.json config file.\n onboarding: [\n 'onboarding', // boolean: Enables or disables the onboarding process. If false, Renovate might not start if no config exists.\n 'onboardingBranch', // string: The name of the branch to use for the onboarding PR (e.g., \"renovate/configure\").\n 'onboardingCommitMessage', // string: Custom commit message for the onboarding commit.\n 'onboardingPrTitle', // string: Custom title for the onboarding PR.\n 'onboardingConfig', // RenovateSharedConfig: A minimal Renovate configuration object to propose in the onboarding PR.\n 'onboardingConfigFileName', // string: The filename for the proposed configuration file (e.g., \"renovate.json\", \".github/renovate.json\").\n 'onboardingRebaseCheckbox', // boolean: Adds a checkbox to the onboarding PR body allowing users to request Renovate to rebase the PR. (Note: Specific to platform integration).\n 'onboardingNoDeps', // 'auto' | 'enabled' | 'disabled': Controls whether the onboarding PR should include initial dependency updates or just the configuration file. 'auto' usually means include updates if few dependencies exist.\n ],\n\n // --- Configuration Requirements ---\n // Defines requirements for the Renovate configuration itself.\n configurationRequirements: [\n 'requireConfig', // RequiredConfig ('required', 'optional', 'ignored'): Specifies whether a Renovate configuration file (`renovate.json`, etc.) is mandatory for Renovate to run on the repository. 'ignored' might be used in centrally managed setups.\n ],\n\n // --- Execution Environment & Logging (Legacy/Admin) ---\n // These settings are often more relevant for self-hosted Renovate instances or specific admin controls.\n executionLogging: [\n 'localDir', // string: Specifies a local directory path, potentially used for caching or temporary files in self-hosted environments. (Note: Less common in typical SaaS usage).\n 'logContext', // string: Adds a custom string/context to log messages, helpful for identifying logs from specific Renovate instances or runs.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const renovateConfig = {\n // --- Metadata ---\n metadata: [\n 'description', // string | string[]: Description for the repository (often used in platform UI).\n ],\n\n // --- Base Repository & Branching Strategy ---\n repository: [\n 'baseBranches', // string[]: List of base branches Renovate should operate on (e.g., [\"main\", \"develop\"]).\n 'defaultBranch', // string: Explicitly specifies the default branch if detection fails or needs override. (Note: Often detected automatically).\n 'useBaseBranchConfig', // UseBaseBranchConfigType: How to handle configuration when running on non-default base branches ('merge' or 'none').\n 'gitAuthor', // string: Custom git author for commits made by Renovate (e.g., \"Renovate Bot <bot@renovateapp.com>\").\n ],\n\n // --- Fork Handling ---\n forkHandling: [\n 'forkProcessing', // 'auto' | 'enabled' | 'disabled': How Renovate should handle running on repository forks. 'auto' usually disables on forks.\n 'isFork', // boolean: Explicitly tells Renovate if the current repository is a fork. (Usually detected).\n 'forkModeDisallowMaintainerEdits', // boolean: When running on a fork, disallow maintainers of the upstream repo from editing the PR.\n ],\n\n // --- Dependency Dashboard ---\n dependencyDashboard: [\n 'dependencyDashboard', // boolean: Enables or disables the creation and management of the Dependency Dashboard issue.\n 'dependencyDashboardTitle', // string: Custom title for the Dependency Dashboard issue.\n 'dependencyDashboardHeader', // string: Custom content to add to the top of the Dependency Dashboard body.\n 'dependencyDashboardFooter', // string: Custom content to add to the bottom of the DependencyDashboard body.\n 'dependencyDashboardLabels', // string[]: Labels to add to the Dependency Dashboard issue.\n 'dependencyDashboardChecks', // Record<string, string>: Configure approval checkboxes within the dashboard.\n 'dependencyDashboardAutoclose', // boolean: Automatically close the Dependency Dashboard issue if there are no pending updates.\n 'dependencyDashboardOSVVulnerabilitySummary', // 'none' | 'all' | 'unresolved': Controls the display of OSV vulnerability summaries in the dashboard.\n 'customizeDashboard', // Record<string, string>: Further customization options for the dashboard's appearance or behavior. (Note: Seems like a flexible key-value store for dashboard tweaks).\n // 'dependencyDashboardIssue', // number: Internal state, the number of the existing dashboard issue. (Note: Likely not user-configured directly).\n ],\n\n // --- Rate Limiting & Concurrency ---\n limits: [\n 'branchConcurrentLimit', // number | null: Maximum number of branches Renovate can create concurrently.\n 'prConcurrentLimit', // number: Maximum number of Pull Requests Renovate can create or update concurrently.\n 'prHourlyLimit', // number: Maximum number of Pull Requests Renovate can create per hour.\n ],\n\n // --- Branch/Commit Naming (Specific Overrides/Additions) ---\n namingSpecifics: [\n 'branchTopic', // string: A specific topic to use for branch naming, potentially overriding `commitMessageTopic`. (Note: Granular control over branch naming).\n 'additionalBranchPrefix', // string: Another prefix to add *after* the main `branchPrefix` but before the rest of the branch name. (Note: For more complex branch naming schemes).\n 'commitBody', // string: Explicitly set the entire commit message body, potentially overriding templates. (Note: Less common than using templating options).\n ],\n\n // --- Registry & Network Configuration ---\n registriesNetwork: [\n 'hostRules', // HostRule[]: Rules for authentication, endpoints, or other behaviors specific to certain hosts (e.g., private registries).\n 'defaultRegistryUrls', // string[]: Default registry URLs to use for package managers if not otherwise specified.\n 'registryUrls', // string[] | null: Overrides detected registry URLs.\n 'registryAliases', // Record<string, string>: Aliases for registry URLs.\n 's3Endpoint', // string: Custom endpoint URL for S3 interactions (e.g., for reports).\n 's3PathStyle', // boolean: Use path-style access for S3 instead of virtual-hosted style.\n ],\n\n // --- Vulnerability Management ---\n vulnerabilities: [\n 'vulnerabilityAlerts', // RenovateSharedConfig: Configuration specific to how vulnerability updates are handled (can inherit shared config structure).\n 'osvVulnerabilityAlerts', // boolean: Specifically enables checking for vulnerabilities using the OSV database.\n ],\n vulnerabilitiesShared: [\n 'vulnerabilitySeverity', // string: Minimum vulnerability severity level to report or act upon (e.g., \"high\", \"critical\").\n ],\n\n // --- Customization & Extensibility ---\n customization: [\n 'customManagers', // CustomManager[]: Definitions for custom package managers not built into Renovate.\n 'customDatasources', // Record<string, CustomDatasourceConfig>: Definitions for custom datasources to find package versions.\n 'secrets', // Record<string, string>: A key-value store for secrets needed during Renovate runs (e.g., tokens accessed via `process.env`). (Note: For securely passing sensitive data).\n 'env', // UserEnv: User-defined environment variables to be set when Renovate executes package manager commands.\n ],\n\n // --- Reporting ---\n reporting: [\n 'reportPath', // string: Path (for file type) or bucket/key (for S3 type) for saving run reports.\n 'reportType', // 'logging' | 'file' | 's3' | null: How and where to generate reports about Renovate runs.\n ],\n\n // --- Configuration Inheritance ---\n inheritance: [\n 'inheritConfig', // boolean: Whether to inherit configuration from a shared repository (defaults to true for Renovate App/Enterprise).\n 'inheritConfigFileName', // string: Custom filename for the shared configuration file in the inheritance repository.\n 'inheritConfigRepoName', // string: Specify the repository from which to inherit configuration.\n 'inheritConfigStrict', // boolean: If true, errors during config inheritance will stop the Renovate run.\n 'ignorePresets', // string[]: List of preset configurations (from `extends`) to ignore.\n 'force', // RenovateConfig: A nested configuration object used for forcing specific settings (often via CLI).\n ],\n\n // --- Process Control & Execution ---\n processControl: [\n 'skipInstalls', // boolean | null: Skip package manager install/build steps (use with caution, may break updates).\n 'updateInternalDeps', // boolean: Whether to update dependencies that point to other modules within the same monorepo.\n 'cloneSubmodulesFilter', // string[]: Filters to apply when deciding which submodules to clone.\n 'fetchChangeLogs', // FetchChangeLogsOptions: Options controlling if and how changelogs are fetched.\n 'logLevelRemap', // LogLevelRemap[]: Rules to remap log levels from specific modules or contexts.\n 'statusCheckNames', // Record<StatusCheckKey, string | null>: Override the names of status checks Renovate looks for or reports.\n 'configWarningReuseIssue', // boolean: If true, configuration warnings will be posted as comments on a single, reused issue instead of creating new ones.\n 'postUpdateOptions', // string[]: Options passed to post-update scripts or hooks. (Note: Related to `postUpgradeTasks` in SharedConfig, perhaps providing context/flags).\n ],\n\n // --- Constraints ---\n constraints: [\n 'constraints', // Record<string, string>: Define version constraints for dependencies (e.g., force a specific version range globally).\n 'constraintsFiltering', // ConstraintsFilter: Control how constraints are applied ('none', 'strict', 'loose').\n ],\n\n // --- Internal State / Contextual (Likely not configured directly in main config) ---\n internalContext: [\n 'depName', // string: The name of the specific dependency being processed in a rule context.\n 'baseBranch', // string: The specific base branch being processed in the current run.\n 'branchList', // string[]: List of branches detected in the repository.\n 'errors', // ValidationMessage[]: Collection of configuration errors found during parsing.\n 'fileList', // string[]: List of files relevant to the current operation.\n 'packageFile', // string: The specific package file being processed.\n 'repoIsOnboarded', // boolean: Flag indicating if the repository onboarding process is complete.\n 'repoIsActivated', // boolean: Flag indicating if Renovate is activated for the repository.\n 'warnings', // ValidationMessage[]: Collection of configuration warnings found during parsing.\n 'checkedBranches', // string[]: List of branches that have already been processed in the current run.\n 'sharedVariableName', // string: Name of a variable used for sharing data between runs or stages. (Note: Advanced/internal usage).\n ],\n\n // --- PackageRules ---\n packageRules: [\n 'packageRules', // PackageRule[]: The core mechanism for customizing Renovate's behavior for specific dependencies or groups.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from '../base/types';\nimport { assigneesAndReviewersConfig } from '../base/assignees-and-reviewers-config';\nimport { configMigration } from '../base/config-migration';\nimport { legacyAdminConfig } from '../base/legacy-admin-config';\nimport { renovateConfig } from '../base/renovate-config';\nimport { renovateSharedConfig } from '../base/renovate-shared-config';\nimport { updateConfig } from '../base/update-config';\n\n// RenovateConfig\n// LegacyAdminConfig,\n// RenovateSharedConfig,\n// UpdateConfig<PackageRule>,\n// AssigneesAndReviewersConfig,\n// ConfigMigration,\nexport const rootOrder = [\n //? core config\n ...renovateSharedConfig.config,\n ...renovateConfig.metadata,\n ...renovateConfig.repository,\n ...renovateConfig.forkHandling,\n ...renovateSharedConfig.branch,\n\n //? migration & dashboard\n ...configMigration,\n ...renovateConfig.dependencyDashboard,\n ...renovateSharedConfig.dependencyDashboard,\n\n //? schedule\n ...renovateSharedConfig.schedule,\n ...renovateSharedConfig.automerge,\n ...renovateConfig.limits,\n\n //? grouping\n ...renovateSharedConfig.grouping,\n ...renovateSharedConfig.commit,\n ...renovateSharedConfig.pr,\n ...renovateSharedConfig.labels,\n ...renovateSharedConfig.filtering,\n ...renovateConfig.namingSpecifics,\n ...assigneesAndReviewersConfig.assignees,\n ...assigneesAndReviewersConfig.reviewers,\n ...assigneesAndReviewersConfig.common,\n\n //? registriesNetwork\n ...renovateConfig.registriesNetwork,\n\n //? vulnerabilities\n ...renovateConfig.vulnerabilities,\n ...renovateConfig.vulnerabilitiesShared,\n\n //? rarely\n ...renovateSharedConfig.advanced,\n ...renovateConfig.customization,\n ...renovateConfig.reporting,\n ...renovateConfig.inheritance,\n ...renovateConfig.processControl,\n ...renovateConfig.constraints,\n ...renovateConfig.internalContext,\n ...legacyAdminConfig.onboarding,\n ...legacyAdminConfig.executionLogging,\n ...legacyAdminConfig.configurationRequirements,\n\n //? overrides\n ...updateConfig.semantic_versioning,\n ...updateConfig.pinning_digests,\n ...updateConfig.lock_file,\n ...updateConfig.special_cases,\n ...renovateConfig.packageRules,\n] as const as JsoncSortKeysOrder;\n","import type { TypedFlatConfigItem } from '@antfu/eslint-config';\nimport { packageRuleOrder } from './order/package-rule';\nimport { rootOrder } from './order/root';\n\nexport const renovateJsonRules: TypedFlatConfigItem = {\n name: 'culur/renovate-json/rules',\n files: [\n // https://docs.renovatebot.com/configuration-options/#configuration-options\n 'renovate.json',\n 'renovate.json5',\n '.github/renovate.json',\n '.github/renovate.json5',\n '.gitlab/renovate.json',\n '.gitlab/renovate.json5',\n '.renovaterc',\n '.renovaterc.json',\n '.renovaterc.json5',\n ],\n rules: {\n 'jsonc/sort-keys': [\n 'error',\n {\n pathPattern: '^$',\n order: rootOrder,\n },\n {\n pathPattern: '^packageRules\\\\[\\\\d+\\\\]$',\n order: packageRuleOrder,\n },\n ],\n },\n};\n","import type { Rules, TypedFlatConfigItem } from '@antfu/eslint-config';\nimport type { Linter } from 'eslint';\n\ntype YamlSortKeys =\n NonNullable<Rules['yaml/sort-keys']> extends Linter.RuleEntry<infer F>\n ? F\n : never;\n\ntype YamlSortKeysRecord = YamlSortKeys[0];\n\nexport const yamlOrder = {\n type: 'asc',\n caseSensitive: false,\n natural: true,\n} as const;\n\nexport const yarnrcYmlSortKeys = {\n packageExtensions: {\n packages: {\n pathPattern: /^packageExtensions$/.source,\n order: yamlOrder,\n },\n dependenciesTypes: {\n pathPattern: /^packageExtensions(?:\\[\".+\"\\]|\\.[^.]+)$/.source,\n order: yamlOrder,\n },\n childPackages: {\n pathPattern:\n /^packageExtensions(?:\\[\".+\"\\]|\\.[^.]+)\\.(?:dependencies|peerDependencies|peerDependenciesMeta)$/\n .source,\n order: yamlOrder,\n },\n },\n} satisfies Record<string, Record<string, YamlSortKeysRecord>>;\n\nexport const yarnrcYmlRules: TypedFlatConfigItem = {\n name: 'culur/yarnrc-yml/rules',\n files: ['.yarnrc.yml'],\n rules: {\n 'yaml/sort-keys': [\n 'error',\n yarnrcYmlSortKeys.packageExtensions.packages,\n yarnrcYmlSortKeys.packageExtensions.dependenciesTypes,\n yarnrcYmlSortKeys.packageExtensions.childPackages,\n ],\n },\n};\n","import type {\n Awaitable,\n Rules,\n TypedFlatConfigItem,\n} from '@antfu/eslint-config';\nimport type { Linter } from 'eslint';\n\nexport type OverrideConfig = {\n name: NonNullable<TypedFlatConfigItem['name']>;\n} & (\n | { partialConfig: TypedFlatConfigItem } // merge with the original config\n | { entireConfig: () => Awaitable<TypedFlatConfigItem> } // replace the entire config\n);\n\nexport const defineOverride = (config: OverrideConfig) =>\n [\n config.name,\n 'partialConfig' in config ? config.partialConfig : config.entireConfig,\n ] as const;\n\nexport type RuleEntry<T extends keyof Rules> = Rules[T] extends\n | Linter.RuleEntry<infer F>\n | undefined\n ? F\n : never;\n","import antfu from '@antfu/eslint-config';\nimport { defineHasPackages } from '@culur/utils-packages';\nimport { importsRules, sortPackageJson, vueRules } from './overrides';\nimport { testRules } from './overrides/test-rules';\nimport { filenameRules, renovateJsonRules, yarnrcYmlRules } from './rules';\nimport { defineOverride } from './types';\n\nexport default function defineConfig(\n ...[options = {}, ...userConfigs]: Parameters<typeof antfu>\n): ReturnType<typeof antfu> {\n const { hasVue } = defineHasPackages({ vue: !!options.vue });\n\n const config = antfu(\n {\n isInEditor: false,\n stylistic: false,\n formatters: false,\n ...options,\n },\n filenameRules,\n yarnrcYmlRules,\n renovateJsonRules,\n ...userConfigs,\n );\n\n config.override(...defineOverride(importsRules));\n config.override(...defineOverride(sortPackageJson));\n config.override(...defineOverride(testRules));\n\n if (hasVue()) {\n config.override(...defineOverride(vueRules));\n }\n\n return config;\n}\n"]}
1
+ {"version":3,"sources":["../src/overrides/imports-rules.ts","../src/overrides/sort-package-json.ts","../src/overrides/test-rules.ts","../src/overrides/vue-rules.ts","../src/rules/filename.ts","../src/rules/renovate-json/base/package-rule.ts","../src/rules/renovate-json/base/renovate-shared-config.ts","../src/rules/renovate-json/base/update-config.ts","../src/rules/renovate-json/order/package-rule.ts","../src/rules/renovate-json/base/assignees-and-reviewers-config.ts","../src/rules/renovate-json/base/config-migration.ts","../src/rules/renovate-json/base/legacy-admin-config.ts","../src/rules/renovate-json/base/renovate-config.ts","../src/rules/renovate-json/order/root.ts","../src/rules/renovate-json/index.ts","../src/rules/yarnrc-yml.ts","../src/types/index.ts","../src/index.ts"],"names":["sortPackageJsonAntfu"],"mappings":";;;;;;;;AAEO,IAAM,YAAA,GAA+B;AAAA,EAC1C,IAAA,EAAM,qBAAA;AAAA,EACN,aAAA,EAAe;AAAA,IACb,KAAA,EAAO;AAAA;AAAA,MAEL,wCAAA,EAA0C,CAAC,OAAA,EAAS,kBAAkB;AAAA;AACxE;AAEJ,CAAA;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AAAA,IACL,gBAAA,EAAkB;AAAA,MAChB,OAAA;AAAA,MACA,kBAAkB,iBAAA,CAAkB,QAAA;AAAA,MACpC,kBAAkB,iBAAA,CAAkB,iBAAA;AAAA,MACpC,kBAAkB,iBAAA,CAAkB;AAAA;AACtC;AAEJ,CAAA;;;AChCO,IAAM,cAAA,GAAiB,CAAC,MAAA,KAC7B;AAAA,EACE,MAAA,CAAO,IAAA;AAAA,EACP,eAAA,IAAmB,MAAA,GAAS,MAAA,CAAO,aAAA,GAAgB,MAAA,CAAO;AAC5D,CAAA;;;ACXa,SAAR,gBACF,CAAC,OAAA,GAAU,EAAC,EAAG,GAAG,WAAW,CAAA,EACN;AAC1B,EAAA,MAAM,EAAE,MAAA,EAAO,GAAI,iBAAA,CAAkB,EAAE,KAAK,CAAC,CAAC,OAAA,CAAQ,GAAA,EAAK,CAAA;AAE3D,EAAA,MAAM,MAAA,GAAS,KAAA;AAAA,IACb;AAAA,MACE,UAAA,EAAY,KAAA;AAAA,MACZ,SAAA,EAAW,KAAA;AAAA,MACX,UAAA,EAAY,KAAA;AAAA,MACZ,GAAG;AAAA,KACL;AAAA,IACA,aAAA;AAAA,IACA,cAAA;AAAA,IACA,iBAAA;AAAA,IACA,GAAG;AAAA,GACL;AAEA,EAAA,MAAA,CAAO,QAAA,CAAS,GAAG,cAAA,CAAe,YAAY,CAAC,CAAA;AAC/C,EAAA,MAAA,CAAO,QAAA,CAAS,GAAG,cAAA,CAAe,eAAe,CAAC,CAAA;AAClD,EAAA,MAAA,CAAO,QAAA,CAAS,GAAG,cAAA,CAAe,SAAS,CAAC,CAAA;AAE5C,EAAA,IAAI,QAAO,EAAG;AACZ,IAAA,MAAA,CAAO,QAAA,CAAS,GAAG,cAAA,CAAe,QAAQ,CAAC,CAAA;AAAA;AAG7C,EAAA,OAAO,MAAA;AACT","file":"index.js","sourcesContent":["import type { OverrideConfig } from '~/types';\n\nexport const importsRules: OverrideConfig = {\n name: 'antfu/imports/rules',\n partialConfig: {\n rules: {\n // 'import/no-deprecated': 'error',\n 'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],\n },\n },\n};\n","import type { OverrideConfig } from '~/types';\nimport assert from 'node:assert';\nimport { sortPackageJson as sortPackageJsonAntfu } from '@antfu/eslint-config';\n\nexport const sortPackageJson: OverrideConfig = {\n name: 'antfu/sort/package-json',\n async entireConfig() {\n const [configItem] = await sortPackageJsonAntfu();\n assert(typeof configItem.name === 'string');\n assert(typeof configItem.rules === 'object');\n\n const sortKeys = configItem.rules['jsonc/sort-keys'];\n assert(typeof sortKeys === 'object');\n\n const [, options] = sortKeys;\n assert(typeof options === 'object');\n\n options.order = [\n //? Project\n 'publisher',\n 'name',\n 'displayName',\n 'version',\n 'description',\n 'private',\n 'publishConfig',\n\n //? Repository\n 'repository',\n 'bugs',\n 'homepage',\n 'funding',\n\n //? Author & license\n 'contributors',\n 'author',\n 'license',\n\n //? https://code.visualstudio.com/api/references/extension-manifest\n 'keywords',\n 'categories',\n\n //? CDN\n 'unpkg',\n 'jsdelivr',\n\n //? Export\n 'type', // module or commonjs\n 'main',\n 'types',\n 'typings', // synonymous with types\n 'typesVersions',\n 'exports',\n 'bin',\n 'files',\n 'workspaces',\n\n //? https://code.visualstudio.com/api/references/extension-manifest\n 'icon',\n 'activationEvents',\n 'contributes',\n\n //? Scripts\n 'scripts',\n\n //? Node & packageManager\n 'volta',\n 'engines',\n 'packageManager',\n\n //? Dependencies\n 'dependencies',\n 'devDependencies',\n 'peerDependencies',\n 'peerDependenciesMeta',\n 'bundleDependencies',\n 'optionalDependencies',\n\n 'pnpm',\n 'overrides',\n 'resolutions',\n\n //? Lib config\n 'husky',\n 'simple-git-hooks',\n 'lint-staged',\n 'eslintConfig',\n ];\n\n return configItem;\n },\n};\n","import type { Linter } from 'eslint';\nimport type { OverrideConfig } from '~/types';\nimport vitest from '@vitest/eslint-plugin';\n\ndeclare module '@antfu/eslint-config' {\n export interface Rules {\n // https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md\n 'test/valid-title': Linter.RuleEntry<\n [\n {\n ignoreTypeOfDescribeName?: boolean;\n allowArguments?: boolean;\n disallowedWords?: string[];\n mustNotMatch?: string[];\n mustMatch?: string[];\n },\n ]\n >;\n }\n}\n\nexport const testRules: OverrideConfig = {\n name: 'antfu/test/rules',\n partialConfig: {\n // Same `include` in @culur/config-vite\n files: ['**/*\\\\.{test,test-d}.?(c|m)[jt]s?(x)'],\n rules: {\n ...vitest.configs.recommended.rules,\n 'test/valid-title': ['error', { allowArguments: true }],\n 'test/expect-expect': [\n 'error',\n {\n assertFunctionNames: [\n 'expect',\n 'expectTypeOf',\n 'assert',\n 'assertType',\n ],\n },\n ],\n },\n },\n};\n","import type { OverrideConfig } from '~/types';\n\nexport const vueRules: OverrideConfig = {\n name: 'antfu/vue/rules',\n partialConfig: {\n rules: {\n 'vue/singleline-html-element-content-newline': 'off',\n 'vue/multiline-html-element-content-newline': 'off',\n 'vue/padding-line-between-blocks': ['error', 'always'],\n 'vue/component-name-in-template-casing': [\n 'error',\n 'PascalCase',\n { registeredComponentsOnly: false },\n ],\n },\n },\n};\n","import type { TypedFlatConfigItem } from '@antfu/eslint-config';\n\nexport const filenameRules: TypedFlatConfigItem = {\n name: 'culur/filename/rules',\n files: [\n '**/*.?(c|m){js,ts}?(x)',\n '**/*.vue',\n '**/*.md?(x)',\n '**/*.json?(c)',\n '**/*.y?(a)ml',\n '**/*.gql',\n '**/*.graphql',\n ],\n rules: {\n 'unicorn/filename-case': [\n 'error',\n {\n case: 'kebabCase',\n ignore: ['README.md', 'CHANGELOG.md'],\n },\n ],\n },\n};\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const packageRule = {\n // --- Metadata ---\n metadata: [\n 'description', // string | string[]: Human-readable description of what this package rule does, useful for documenting complex configurations.\n ],\n\n // --- Range Strategy ---\n rangeStrategy: [\n 'rangeStrategy', // 'auto' | 'pin' | 'bump' | 'replace' | 'widen' | 'update-lockfile' | 'in-range-only': Determines how to modify or update existing ranges\n ],\n\n // --- Rule Matching Criteria (Core) ---\n // These properties determine *which* dependencies or updates this rule applies to.\n matching: [\n 'matchPackageNames', // string[]: Apply rule if dependency name matches any in this list (e.g., [\"react\", \"lodash\"]).\n 'matchDepNames', // string[]: Apply rule if dependency name matches (similar to matchPackageNames, can be broader).\n 'matchManagers', // string[]: Apply rule if the dependency is managed by one of these package managers (e.g., [\"npm\", \"docker\"]).\n 'matchDatasources', // string[]: Apply rule if the dependency's version source matches (e.g., [\"npm\", \"git-tags\", \"docker\"]).\n 'matchDepTypes', // string[]: Apply rule if the dependency type matches (e.g., [\"dependencies\", \"devDependencies\", \"peerDependencies\"]).\n 'matchUpdateTypes', // UpdateType[]: Apply rule based on the type of update (e.g., [\"major\", \"minor\", \"patch\", \"pin\", \"digest\"]).\n 'matchCategories', // string[]: Apply rule if dependency belongs to specified categories (defined via extractConfigs or presets like \"linters\").\n 'matchCurrentVersion', // string: Apply rule if the *currently installed* version matches this pattern (supports regex).\n 'matchSourceUrls', // string[]: Apply rule if the dependency's source repository URL matches any pattern in the list.\n 'matchFileNames', // string[]: Apply rule if the dependency is found in a file matching any pattern in this list.\n 'matchBaseBranches', // string[]: Apply rule only when Renovate is running against one of these base branches.\n 'matchRepositories', // string[]: Apply rule only when Renovate is running in a repository matching one of these names.\n 'matchCurrentValue', // string: Apply rule if the current value (e.g., Docker tag) matches this pattern.\n 'matchNewValue', // string: Apply rule if the proposed new value/version matches this pattern.\n 'matchCurrentAge', // string: Apply rule based on how long the current version has been used (e.g., \"> 3 months\").\n 'matchConfidence', // MergeConfidence[]: Apply rule based on Renovate's calculated merge confidence level (e.g., [\"high\", \"very-high\"]).\n 'matchJsonata', // string[]: Advanced matching using JSONata queries against dependency metadata.\n ],\n\n // --- Registry & Network Configuration ---\n registriesNetwork: [\n 'registryUrls', // string[] | null: Override the global or default registry URLs specifically for dependencies matched by this rule.\n ],\n\n // --- Vulnerability Specific Matching ---\n vulnerabilities: [\n 'isVulnerabilityAlert', // boolean: (Note: Likely an internal flag set by Renovate, used to *match* rules against updates that *are* vulnerability fixes, rather than being set directly by the user). Apply rule if the update addresses a known vulnerability.\n 'vulnerabilityFixVersion', // string: Apply rule if the vulnerability fix is targeting this specific version.\n ],\n vulnerabilitiesShared: [\n 'vulnerabilitySeverity', // string: Minimum vulnerability severity level to report or act upon (e.g., \"high\", \"critical\").\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const renovateSharedConfig = {\n // --- Core Configuration ---\n config: [\n '$schema', // string: Reference to the JSON schema for validation.\n 'extends', // string[]: Specifies configuration presets to inherit from.\n 'enabled', // boolean: Enables or disables Renovate for the repository or rule.\n 'enabledManagers', // string[]: List of package managers to enable (e.g., [\"npm\", \"docker\"]).\n ],\n\n // --- Dependency Dashboard ---\n dependencyDashboard: [\n 'dependencyDashboardApproval', // boolean: Requires manual approval via the Dependency Dashboard checkbox before a PR is created.\n ],\n\n // --- Scheduling and Timezone ---\n schedule: [\n 'schedule', // string[]: Defines when Renovate should run using cron syntax or presets.\n 'timezone', // string: Timezone to use for scheduling (e.g., \"UTC\", \"America/New_York\").\n ],\n\n // --- Automerge ---\n automerge: [\n 'automerge', // boolean: Enables automatic merging of PRs when conditions are met.\n 'automergeType', // 'pr' | 'branch-push' | 'pr-comment': Specifies the automerge mechanism. Deprecated/renamed? (Note: Not in original list, added for context, potentially maps to other settings).\n 'automergeStrategy', // MergeStrategy ('auto', 'merge', 'rebase', 'squash'): The merge strategy to use for automerging.\n 'automergeSchedule', // string[]: Schedules automerging attempts independently of PR updates.\n 'internalChecksAsSuccess', // boolean: Considers Renovate's internal checks as successful for automerge status checks.\n 'platformAutomerge', // boolean: Use the platform's native automerge feature if available. (Note: Not in original list, but common).\n ],\n\n // --- Branch Management ---\n branch: [\n 'branchPrefix', // string: Prefix added to all Renovate-created branches.\n 'branchName', // string: Template for naming Renovate branches.\n 'branchNameStrict', // boolean: If true, enforces stricter validation for branch names.\n 'hashedBranchLength', // number: Length of the hash appended to branch names when needed.\n 'pruneBranchAfterAutomerge', // boolean: Automatically delete the branch after a PR is automerged.\n // 'branchPrefixOld', // string: Potentially deprecated or for specific migration scenarios.\n ],\n\n // --- Grouping Dependencies ---\n grouping: [\n 'group', // GroupConfig: More detailed configuration for grouping dependencies.\n 'groupName', // string: A custom name for a group of dependencies updated together in one PR.\n 'groupSlug', // string: A URL-friendly slug for the group name.\n ],\n\n // --- Commit Management ---\n commit: [\n 'semanticCommits', // 'auto' | 'enabled' | 'disabled': Controls the use of semantic commit messages.\n 'semanticCommitType', // string: The type used in semantic commits (e.g., \"fix\", \"chore\").\n 'semanticCommitScope', // string | null: The scope used in semantic commits.\n 'commitMessagePrefix', // string: Prefix added to all commit messages.\n 'commitMessage', // string: Template for the commit message body.\n 'commitMessageAction', // string: Action part of the commit message (e.g., \"Update\", \"Pin\").\n 'commitMessageTopic', // string: Topic part of the commit message (e.g., dependency name).\n 'commitMessageExtra', // string: Additional details appended to the commit message.\n 'commitMessageLowerCase', // 'auto' | 'never': Controls the casing of the commit message header.\n 'platformCommit', // PlatformCommitOptions: Platform-specific commit options.\n ],\n\n // --- Pull Request (PR) Management ---\n pr: [\n 'prCreation', // 'immediate' | 'not-pending' | 'status-success' | 'approval': Controls when PRs are created based on checks/approvals.\n 'draftPR', // boolean: Creates PRs as drafts initially.\n 'recreateClosed', // boolean: Recreate PRs if they were manually closed without merging.\n 'recreateWhen', // RecreateWhen: Specifies conditions under which closed PRs should be recreated.\n 'prBodyColumns', // string[]: Specifies which columns to include in the PR body's dependency table.\n 'prBodyDefinitions', // Record<string, string>: Custom definitions/text for sections within the PR body.\n 'prPriority', // number: Sets a priority level for the PR (platform-dependent).\n 'confidential', // boolean: Marks the PR as confidential (platform-dependent, e.g., GitLab).\n 'milestone', // number: Assigns the PR to a specific milestone number.\n ],\n\n // --- Labels ---\n labels: [\n 'labels', // string[]: List of labels to be added to created PRs.\n 'addLabels', // string[]: Additional labels to add (often used in package rules).\n 'keepUpdatedLabel', // string: Label indicating a PR should be kept up-to-date by Renovate, even if tests fail.\n 'rebaseLabel', // string: Label that triggers Renovate to rebase the PR.\n 'stopUpdatingLabel', // string: Label that tells Renovate to stop updating a specific PR.\n ],\n\n // --- Dependency Filtering and Matching ---\n filtering: [\n 'ignoreDeps', // string[]: List of dependency names to ignore completely.\n 'ignorePaths', // string[]: List of file paths or glob patterns to ignore during scanning.\n 'includePaths', // string[]: List of file paths or glob patterns to explicitly include (if others are ignored).\n 'fileMatch', // string[]: Glob patterns for matching dependency files.\n 'respectLatest', // boolean: Whether to strictly respect the 'latest' tag instead of potentially newer versions.\n 'ignoreTests', // boolean: Option to ignore dependencies typically found only in test/development scopes.\n ],\n\n // --- Advanced / Less Common ---\n advanced: [\n 'postUpgradeTasks', // PostUpgradeTasks: Defines commands or scripts to run after dependency upgrades.\n 'npmrc', // string: Allows providing custom .npmrc content for Renovate's operations.\n 'npmrcMerge', // boolean: Whether to merge provided npmrc content with existing files.\n 'changelogUrl', // string: A custom URL template for linking to changelogs.\n 'gitIgnoredAuthors', // string[]: List of git commit authors whose commits should be ignored by Renovate (e.g., bots).\n 'unicodeEmoji', // boolean: Use Unicode emojis (e.g., ✨) instead of text alternatives (e.g., :sparkles:).\n 'suppressNotifications', // string[]: List of notification types to suppress.\n 'productLinks', // Record<string, string>: Custom links for product documentation shown in PRs.\n 'rebaseWhen', // string ('auto', 'behind-base-branch', 'conflicted', 'never'): Conditions under which Renovate should rebase PRs.\n // 'manager', // string: Usually context-specific, identifies the package manager being used.\n // 'repository', // string: Usually context-specific, the name of the repository.\n // 'repositoryCache', // RepositoryCacheConfig: Configuration for caching repository data.\n // 'repositoryCacheType', // RepositoryCacheType: Type of repository cache ('local', 'shared', etc.).\n // 'autoReplaceGlobalMatch',// boolean: Advanced feature related to global replacements (less common).\n // 'force', // RenovateConfig: Allows forcing specific configurations, overriding others (use with caution).\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const updateConfig = {\n // --- Semantic Versioning Updates ---\n // Based on standard SemVer (MAJOR.MINOR.PATCH) changes.\n semantic_versioning: [\n 'major', // T: A change in the MAJOR version number (e.g., 1.x.x -> 2.0.0).\n 'minor', // T: A change in the MINOR version number (e.g., 1.2.x -> 1.3.0).\n 'patch', // T: A change in the PATCH version number (e.g., 1.2.3 -> 1.2.4).\n ],\n\n // --- Pinning and Digest Updates ---\n // Used for fixing to exact versions/digests.\n pinning_digests: [\n 'pin', // T: Updating from a range to a specific fixed version.\n 'digest', // T: Updating the content digest (hash) of a dependency (e.g., Docker image SHA).\n 'pinDigest', // T: An update involving both pinning and digest update.\n ],\n\n // --- Lock File Maintenance ---\n // Updates primarily related to the lock file.\n lock_file: [\n 'lockFileMaintenance', // T: Maintenance updates within the lock file without changing direct dependencies.\n 'lockfileUpdate', // T: General updates confined to the lock file. (Note: Potential overlap with lockFileMaintenance).\n ],\n\n // --- Special Update Cases ---\n // Covers less common or non-standard update scenarios.\n special_cases: [\n 'rollback', // T: Reverting a dependency to a previous version.\n 'bump', // T: A non-specific version increase (e.g., for date-based versions or non-SemVer).\n 'replacement', // T: Replacing one dependency with another.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from '../base/types';\nimport { packageRule } from '../base/package-rule';\nimport { renovateSharedConfig } from '../base/renovate-shared-config';\nimport { updateConfig } from '../base/update-config';\n\n// PackageRule\n// RenovateSharedConfig\n// UpdateConfig\nexport const packageRuleOrder = [\n //? core config\n ...packageRule.metadata,\n ...renovateSharedConfig.config,\n ...renovateSharedConfig.branch,\n\n //? migration & dashboard\n ...renovateSharedConfig.dependencyDashboard,\n\n //? schedule\n ...renovateSharedConfig.schedule,\n ...renovateSharedConfig.automerge,\n\n //? grouping\n ...renovateSharedConfig.grouping,\n ...renovateSharedConfig.commit,\n ...renovateSharedConfig.pr,\n ...renovateSharedConfig.labels,\n ...renovateSharedConfig.filtering,\n\n //? rangeStrategy\n ...packageRule.rangeStrategy,\n\n //? matching\n ...packageRule.matching,\n ...packageRule.registriesNetwork,\n\n //? vulnerabilities\n ...packageRule.vulnerabilities,\n ...packageRule.vulnerabilitiesShared,\n\n //? rarely\n ...renovateSharedConfig.advanced,\n\n //? overrides\n ...updateConfig.semantic_versioning,\n ...updateConfig.pinning_digests,\n ...updateConfig.lock_file,\n ...updateConfig.special_cases,\n] as const as JsoncSortKeysOrder;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const assigneesAndReviewersConfig = {\n // --- Assignees ---\n assignees: [\n 'assignees', // string[]: Explicit list of usernames to assign to the PR.\n 'assigneesFromCodeOwners', // boolean: Assign users listed as owners in the CODEOWNERS file.\n 'assigneesSampleSize', // number: Select a random sample of this size from the potential assignees (either from `assignees` list or CODEOWNERS). [1]\n ],\n\n // --- Reviewers ---\n reviewers: [\n 'reviewers', // string[]: Explicit list of usernames to request reviews from.\n 'reviewersFromCodeOwners', // boolean: Request reviews from users listed as owners in the CODEOWNERS file.\n 'reviewersSampleSize', // number: Select a random sample of this size from the potential reviewers (either from `reviewers` list or CODEOWNERS).\n 'additionalReviewers', // string[]: Add these users as reviewers *in addition* to any specified in `reviewers` or derived from CODEOWNERS. Useful for adding specific reviewers in package rules without overriding the base list. [14]\n 'ignoreReviewers', // string[]: List of usernames that should *not* be added as reviewers, even if they are in the `reviewers` list or CODEOWNERS. Useful for filtering out bots or users on leave. [2]\n ],\n\n // --- Common / Helper Options ---\n common: [\n 'expandCodeOwnersGroups', // boolean: If true, Renovate expands CODEOWNERS groups (like `@org/team`) into individual members before applying logic like `reviewersSampleSize`. Supported on GitLab [3, 4, 6] and potentially other platforms supporting group expansion [1].\n 'filterUnavailableUsers', // boolean: (Note: Supported on GitLab [3, 5]) Check if assigned/requested users are actually available/have access on the platform before adding them. [3, 5, 8, 12, 13] Prevents errors if a listed user doesn't exist or can't access the repository.\n // 'assignAutomerge', // boolean: (Note: From [14], likely deprecated or less common) Assign reviewers/assignees even if automerge is enabled. Default Renovate behavior is *not* to add assignees/reviewers if automerge is set, to reduce noise, unless the PR fails checks. [2, 7]\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from './types';\n\nexport const configMigration = [\n 'configMigration', // boolean: Enable this to get config migration PRs when needed\n] as const satisfies JsoncSortKeysOrder;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const legacyAdminConfig = {\n // --- Onboarding Configuration ---\n // Controls the behavior of the initial \"onboarding\" PR that Renovate creates\n // when it's first enabled on a repository, typically adding the renovate.json config file.\n onboarding: [\n 'onboarding', // boolean: Enables or disables the onboarding process. If false, Renovate might not start if no config exists.\n 'onboardingBranch', // string: The name of the branch to use for the onboarding PR (e.g., \"renovate/configure\").\n 'onboardingCommitMessage', // string: Custom commit message for the onboarding commit.\n 'onboardingPrTitle', // string: Custom title for the onboarding PR.\n 'onboardingConfig', // RenovateSharedConfig: A minimal Renovate configuration object to propose in the onboarding PR.\n 'onboardingConfigFileName', // string: The filename for the proposed configuration file (e.g., \"renovate.json\", \".github/renovate.json\").\n 'onboardingRebaseCheckbox', // boolean: Adds a checkbox to the onboarding PR body allowing users to request Renovate to rebase the PR. (Note: Specific to platform integration).\n 'onboardingNoDeps', // 'auto' | 'enabled' | 'disabled': Controls whether the onboarding PR should include initial dependency updates or just the configuration file. 'auto' usually means include updates if few dependencies exist.\n ],\n\n // --- Configuration Requirements ---\n // Defines requirements for the Renovate configuration itself.\n configurationRequirements: [\n 'requireConfig', // RequiredConfig ('required', 'optional', 'ignored'): Specifies whether a Renovate configuration file (`renovate.json`, etc.) is mandatory for Renovate to run on the repository. 'ignored' might be used in centrally managed setups.\n ],\n\n // --- Execution Environment & Logging (Legacy/Admin) ---\n // These settings are often more relevant for self-hosted Renovate instances or specific admin controls.\n executionLogging: [\n 'localDir', // string: Specifies a local directory path, potentially used for caching or temporary files in self-hosted environments. (Note: Less common in typical SaaS usage).\n 'logContext', // string: Adds a custom string/context to log messages, helpful for identifying logs from specific Renovate instances or runs.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrderMap } from './types';\n\nexport const renovateConfig = {\n // --- Metadata ---\n metadata: [\n 'description', // string | string[]: Description for the repository (often used in platform UI).\n ],\n\n // --- Base Repository & Branching Strategy ---\n repository: [\n 'baseBranches', // string[]: List of base branches Renovate should operate on (e.g., [\"main\", \"develop\"]).\n 'defaultBranch', // string: Explicitly specifies the default branch if detection fails or needs override. (Note: Often detected automatically).\n 'useBaseBranchConfig', // UseBaseBranchConfigType: How to handle configuration when running on non-default base branches ('merge' or 'none').\n 'gitAuthor', // string: Custom git author for commits made by Renovate (e.g., \"Renovate Bot <bot@renovateapp.com>\").\n ],\n\n // --- Fork Handling ---\n forkHandling: [\n 'forkProcessing', // 'auto' | 'enabled' | 'disabled': How Renovate should handle running on repository forks. 'auto' usually disables on forks.\n 'isFork', // boolean: Explicitly tells Renovate if the current repository is a fork. (Usually detected).\n 'forkModeDisallowMaintainerEdits', // boolean: When running on a fork, disallow maintainers of the upstream repo from editing the PR.\n ],\n\n // --- Dependency Dashboard ---\n dependencyDashboard: [\n 'dependencyDashboard', // boolean: Enables or disables the creation and management of the Dependency Dashboard issue.\n 'dependencyDashboardTitle', // string: Custom title for the Dependency Dashboard issue.\n 'dependencyDashboardHeader', // string: Custom content to add to the top of the Dependency Dashboard body.\n 'dependencyDashboardFooter', // string: Custom content to add to the bottom of the DependencyDashboard body.\n 'dependencyDashboardLabels', // string[]: Labels to add to the Dependency Dashboard issue.\n 'dependencyDashboardChecks', // Record<string, string>: Configure approval checkboxes within the dashboard.\n 'dependencyDashboardAutoclose', // boolean: Automatically close the Dependency Dashboard issue if there are no pending updates.\n 'dependencyDashboardOSVVulnerabilitySummary', // 'none' | 'all' | 'unresolved': Controls the display of OSV vulnerability summaries in the dashboard.\n 'customizeDashboard', // Record<string, string>: Further customization options for the dashboard's appearance or behavior. (Note: Seems like a flexible key-value store for dashboard tweaks).\n // 'dependencyDashboardIssue', // number: Internal state, the number of the existing dashboard issue. (Note: Likely not user-configured directly).\n ],\n\n // --- Rate Limiting & Concurrency ---\n limits: [\n 'branchConcurrentLimit', // number | null: Maximum number of branches Renovate can create concurrently.\n 'prConcurrentLimit', // number: Maximum number of Pull Requests Renovate can create or update concurrently.\n 'prHourlyLimit', // number: Maximum number of Pull Requests Renovate can create per hour.\n ],\n\n // --- Branch/Commit Naming (Specific Overrides/Additions) ---\n namingSpecifics: [\n 'branchTopic', // string: A specific topic to use for branch naming, potentially overriding `commitMessageTopic`. (Note: Granular control over branch naming).\n 'additionalBranchPrefix', // string: Another prefix to add *after* the main `branchPrefix` but before the rest of the branch name. (Note: For more complex branch naming schemes).\n 'commitBody', // string: Explicitly set the entire commit message body, potentially overriding templates. (Note: Less common than using templating options).\n ],\n\n // --- Registry & Network Configuration ---\n registriesNetwork: [\n 'hostRules', // HostRule[]: Rules for authentication, endpoints, or other behaviors specific to certain hosts (e.g., private registries).\n 'defaultRegistryUrls', // string[]: Default registry URLs to use for package managers if not otherwise specified.\n 'registryUrls', // string[] | null: Overrides detected registry URLs.\n 'registryAliases', // Record<string, string>: Aliases for registry URLs.\n 's3Endpoint', // string: Custom endpoint URL for S3 interactions (e.g., for reports).\n 's3PathStyle', // boolean: Use path-style access for S3 instead of virtual-hosted style.\n ],\n\n // --- Vulnerability Management ---\n vulnerabilities: [\n 'vulnerabilityAlerts', // RenovateSharedConfig: Configuration specific to how vulnerability updates are handled (can inherit shared config structure).\n 'osvVulnerabilityAlerts', // boolean: Specifically enables checking for vulnerabilities using the OSV database.\n ],\n vulnerabilitiesShared: [\n 'vulnerabilitySeverity', // string: Minimum vulnerability severity level to report or act upon (e.g., \"high\", \"critical\").\n ],\n\n // --- Customization & Extensibility ---\n customization: [\n 'customManagers', // CustomManager[]: Definitions for custom package managers not built into Renovate.\n 'customDatasources', // Record<string, CustomDatasourceConfig>: Definitions for custom datasources to find package versions.\n 'secrets', // Record<string, string>: A key-value store for secrets needed during Renovate runs (e.g., tokens accessed via `process.env`). (Note: For securely passing sensitive data).\n 'env', // UserEnv: User-defined environment variables to be set when Renovate executes package manager commands.\n ],\n\n // --- Reporting ---\n reporting: [\n 'reportPath', // string: Path (for file type) or bucket/key (for S3 type) for saving run reports.\n 'reportType', // 'logging' | 'file' | 's3' | null: How and where to generate reports about Renovate runs.\n ],\n\n // --- Configuration Inheritance ---\n inheritance: [\n 'inheritConfig', // boolean: Whether to inherit configuration from a shared repository (defaults to true for Renovate App/Enterprise).\n 'inheritConfigFileName', // string: Custom filename for the shared configuration file in the inheritance repository.\n 'inheritConfigRepoName', // string: Specify the repository from which to inherit configuration.\n 'inheritConfigStrict', // boolean: If true, errors during config inheritance will stop the Renovate run.\n 'ignorePresets', // string[]: List of preset configurations (from `extends`) to ignore.\n 'force', // RenovateConfig: A nested configuration object used for forcing specific settings (often via CLI).\n ],\n\n // --- Process Control & Execution ---\n processControl: [\n 'skipInstalls', // boolean | null: Skip package manager install/build steps (use with caution, may break updates).\n 'updateInternalDeps', // boolean: Whether to update dependencies that point to other modules within the same monorepo.\n 'cloneSubmodulesFilter', // string[]: Filters to apply when deciding which submodules to clone.\n 'fetchChangeLogs', // FetchChangeLogsOptions: Options controlling if and how changelogs are fetched.\n 'logLevelRemap', // LogLevelRemap[]: Rules to remap log levels from specific modules or contexts.\n 'statusCheckNames', // Record<StatusCheckKey, string | null>: Override the names of status checks Renovate looks for or reports.\n 'configWarningReuseIssue', // boolean: If true, configuration warnings will be posted as comments on a single, reused issue instead of creating new ones.\n 'postUpdateOptions', // string[]: Options passed to post-update scripts or hooks. (Note: Related to `postUpgradeTasks` in SharedConfig, perhaps providing context/flags).\n ],\n\n // --- Constraints ---\n constraints: [\n 'constraints', // Record<string, string>: Define version constraints for dependencies (e.g., force a specific version range globally).\n 'constraintsFiltering', // ConstraintsFilter: Control how constraints are applied ('none', 'strict', 'loose').\n ],\n\n // --- Internal State / Contextual (Likely not configured directly in main config) ---\n internalContext: [\n 'depName', // string: The name of the specific dependency being processed in a rule context.\n 'baseBranch', // string: The specific base branch being processed in the current run.\n 'branchList', // string[]: List of branches detected in the repository.\n 'errors', // ValidationMessage[]: Collection of configuration errors found during parsing.\n 'fileList', // string[]: List of files relevant to the current operation.\n 'packageFile', // string: The specific package file being processed.\n 'repoIsOnboarded', // boolean: Flag indicating if the repository onboarding process is complete.\n 'repoIsActivated', // boolean: Flag indicating if Renovate is activated for the repository.\n 'warnings', // ValidationMessage[]: Collection of configuration warnings found during parsing.\n 'checkedBranches', // string[]: List of branches that have already been processed in the current run.\n 'sharedVariableName', // string: Name of a variable used for sharing data between runs or stages. (Note: Advanced/internal usage).\n ],\n\n // --- PackageRules ---\n packageRules: [\n 'packageRules', // PackageRule[]: The core mechanism for customizing Renovate's behavior for specific dependencies or groups.\n ],\n} as const satisfies JsoncSortKeysOrderMap;\n","import type { JsoncSortKeysOrder } from '../base/types';\nimport { assigneesAndReviewersConfig } from '../base/assignees-and-reviewers-config';\nimport { configMigration } from '../base/config-migration';\nimport { legacyAdminConfig } from '../base/legacy-admin-config';\nimport { renovateConfig } from '../base/renovate-config';\nimport { renovateSharedConfig } from '../base/renovate-shared-config';\nimport { updateConfig } from '../base/update-config';\n\n// RenovateConfig\n// LegacyAdminConfig,\n// RenovateSharedConfig,\n// UpdateConfig<PackageRule>,\n// AssigneesAndReviewersConfig,\n// ConfigMigration,\nexport const rootOrder = [\n //? core config\n ...renovateSharedConfig.config,\n ...renovateConfig.metadata,\n ...renovateConfig.repository,\n ...renovateConfig.forkHandling,\n ...renovateSharedConfig.branch,\n\n //? migration & dashboard\n ...configMigration,\n ...renovateConfig.dependencyDashboard,\n ...renovateSharedConfig.dependencyDashboard,\n\n //? schedule\n ...renovateSharedConfig.schedule,\n ...renovateSharedConfig.automerge,\n ...renovateConfig.limits,\n\n //? grouping\n ...renovateSharedConfig.grouping,\n ...renovateSharedConfig.commit,\n ...renovateSharedConfig.pr,\n ...renovateSharedConfig.labels,\n ...renovateSharedConfig.filtering,\n ...renovateConfig.namingSpecifics,\n ...assigneesAndReviewersConfig.assignees,\n ...assigneesAndReviewersConfig.reviewers,\n ...assigneesAndReviewersConfig.common,\n\n //? registriesNetwork\n ...renovateConfig.registriesNetwork,\n\n //? vulnerabilities\n ...renovateConfig.vulnerabilities,\n ...renovateConfig.vulnerabilitiesShared,\n\n //? rarely\n ...renovateSharedConfig.advanced,\n ...renovateConfig.customization,\n ...renovateConfig.reporting,\n ...renovateConfig.inheritance,\n ...renovateConfig.processControl,\n ...renovateConfig.constraints,\n ...renovateConfig.internalContext,\n ...legacyAdminConfig.onboarding,\n ...legacyAdminConfig.executionLogging,\n ...legacyAdminConfig.configurationRequirements,\n\n //? overrides\n ...updateConfig.semantic_versioning,\n ...updateConfig.pinning_digests,\n ...updateConfig.lock_file,\n ...updateConfig.special_cases,\n ...renovateConfig.packageRules,\n] as const as JsoncSortKeysOrder;\n","import type { TypedFlatConfigItem } from '@antfu/eslint-config';\nimport { packageRuleOrder } from './order/package-rule';\nimport { rootOrder } from './order/root';\n\nexport const renovateJsonRules: TypedFlatConfigItem = {\n name: 'culur/renovate-json/rules',\n files: [\n // https://docs.renovatebot.com/configuration-options/#configuration-options\n 'renovate.json',\n 'renovate.json5',\n '.github/renovate.json',\n '.github/renovate.json5',\n '.gitlab/renovate.json',\n '.gitlab/renovate.json5',\n '.renovaterc',\n '.renovaterc.json',\n '.renovaterc.json5',\n ],\n rules: {\n 'jsonc/sort-keys': [\n 'error',\n {\n pathPattern: '^$',\n order: rootOrder,\n },\n {\n pathPattern: '^packageRules\\\\[\\\\d+\\\\]$',\n order: packageRuleOrder,\n },\n ],\n },\n};\n","import type { Rules, TypedFlatConfigItem } from '@antfu/eslint-config';\nimport type { Linter } from 'eslint';\n\ntype YamlSortKeys =\n NonNullable<Rules['yaml/sort-keys']> extends Linter.RuleEntry<infer F>\n ? F\n : never;\n\ntype YamlSortKeysRecord = YamlSortKeys[0];\n\nexport const yamlOrder = {\n type: 'asc',\n caseSensitive: false,\n natural: true,\n} as const;\n\nexport const yarnrcYmlSortKeys = {\n packageExtensions: {\n packages: {\n pathPattern: /^packageExtensions$/.source,\n order: yamlOrder,\n },\n dependenciesTypes: {\n pathPattern: /^packageExtensions(?:\\[\".+\"\\]|\\.[^.]+)$/.source,\n order: yamlOrder,\n },\n childPackages: {\n pathPattern:\n /^packageExtensions(?:\\[\".+\"\\]|\\.[^.]+)\\.(?:dependencies|peerDependencies|peerDependenciesMeta)$/\n .source,\n order: yamlOrder,\n },\n },\n} satisfies Record<string, Record<string, YamlSortKeysRecord>>;\n\nexport const yarnrcYmlRules: TypedFlatConfigItem = {\n name: 'culur/yarnrc-yml/rules',\n files: ['.yarnrc.yml'],\n rules: {\n 'yaml/sort-keys': [\n 'error',\n yarnrcYmlSortKeys.packageExtensions.packages,\n yarnrcYmlSortKeys.packageExtensions.dependenciesTypes,\n yarnrcYmlSortKeys.packageExtensions.childPackages,\n ],\n },\n};\n","import type {\n Awaitable,\n Rules,\n TypedFlatConfigItem,\n} from '@antfu/eslint-config';\nimport type { Linter } from 'eslint';\n\nexport type OverrideConfig = {\n name: NonNullable<TypedFlatConfigItem['name']>;\n} & (\n | { partialConfig: TypedFlatConfigItem } // merge with the original config\n | { entireConfig: () => Awaitable<TypedFlatConfigItem> } // replace the entire config\n);\n\nexport const defineOverride = (config: OverrideConfig) =>\n [\n config.name,\n 'partialConfig' in config ? config.partialConfig : config.entireConfig,\n ] as const;\n\nexport type RuleEntry<T extends keyof Rules> = Rules[T] extends\n | Linter.RuleEntry<infer F>\n | undefined\n ? F\n : never;\n","import antfu from '@antfu/eslint-config';\nimport { defineHasPackages } from '@culur/utils-packages';\nimport { importsRules, sortPackageJson, vueRules } from './overrides';\nimport { testRules } from './overrides/test-rules';\nimport { filenameRules, renovateJsonRules, yarnrcYmlRules } from './rules';\nimport { defineOverride } from './types';\n\nexport default function defineConfig(\n ...[options = {}, ...userConfigs]: Parameters<typeof antfu>\n): ReturnType<typeof antfu> {\n const { hasVue } = defineHasPackages({ vue: !!options.vue });\n\n const config = antfu(\n {\n isInEditor: false,\n stylistic: false,\n formatters: false,\n ...options,\n },\n filenameRules,\n yarnrcYmlRules,\n renovateJsonRules,\n ...userConfigs,\n );\n\n config.override(...defineOverride(importsRules));\n config.override(...defineOverride(sortPackageJson));\n config.override(...defineOverride(testRules));\n\n if (hasVue()) {\n config.override(...defineOverride(vueRules));\n }\n\n return config;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@culur/config-eslint",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "Culur's eslint configuration",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -61,16 +61,16 @@
61
61
  "node": ">=20"
62
62
  },
63
63
  "dependencies": {
64
- "@antfu/eslint-config": "^4.13.2",
65
- "@vitest/eslint-plugin": "^1.2.1",
66
- "@culur/utils-packages": "1.2.4"
64
+ "@antfu/eslint-config": "^4.16.1",
65
+ "@vitest/eslint-plugin": "^1.3.3",
66
+ "@culur/utils-packages": "1.2.5"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@eslint/eslintrc": "^3.3.1",
70
70
  "@types/eslint": "^9.6.1",
71
- "@vue/compiler-sfc": "^3.5.16",
72
- "@culur/config-tsup": "1.2.4",
73
- "@culur/config-typescript": "1.1.1"
71
+ "@vue/compiler-sfc": "^3.5.17",
72
+ "@culur/config-tsup": "1.2.5",
73
+ "@culur/config-typescript": "1.1.2"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "eslint": ">=9.20.0"
@@ -4,7 +4,7 @@ export const importsRules: OverrideConfig = {
4
4
  name: 'antfu/imports/rules',
5
5
  partialConfig: {
6
6
  rules: {
7
- 'import/no-deprecated': 'error',
7
+ // 'import/no-deprecated': 'error',
8
8
  'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
9
9
  },
10
10
  },