knip 5.50.4 → 5.51.0

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.
Files changed (68) hide show
  1. package/README.md +1 -1
  2. package/dist/ConfigurationChief.d.ts +4 -1
  3. package/dist/ConfigurationChief.js +3 -0
  4. package/dist/DependencyDeputy.js +11 -0
  5. package/dist/binaries/fallback.js +1 -1
  6. package/dist/binaries/package-manager/bun.js +2 -0
  7. package/dist/cli.js +3 -3
  8. package/dist/compilers/astro.js +5 -1
  9. package/dist/compilers/compilers.js +1 -1
  10. package/dist/compilers/index.d.ts +44 -13
  11. package/dist/compilers/index.js +9 -6
  12. package/dist/compilers/types.d.ts +1 -0
  13. package/dist/graph/build.js +8 -4
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.js +9 -1
  16. package/dist/plugins/bun/index.d.ts +11 -0
  17. package/dist/plugins/bun/index.js +28 -0
  18. package/dist/plugins/eslint/index.js +1 -2
  19. package/dist/plugins/index.d.ts +37 -10
  20. package/dist/plugins/index.js +8 -2
  21. package/dist/plugins/lint-staged/index.d.ts +0 -1
  22. package/dist/plugins/lint-staged/index.js +0 -2
  23. package/dist/plugins/nano-staged/index.d.ts +10 -0
  24. package/dist/plugins/nano-staged/index.js +33 -0
  25. package/dist/plugins/nano-staged/types.d.ts +7 -0
  26. package/dist/plugins/next/index.js +2 -1
  27. package/dist/plugins/oxlint/index.d.ts +12 -0
  28. package/dist/plugins/oxlint/index.js +16 -0
  29. package/dist/plugins/preconstruct/index.js +2 -2
  30. package/dist/plugins/prettier/index.js +1 -1
  31. package/dist/plugins/relay/index.d.ts +15 -0
  32. package/dist/plugins/relay/index.js +31 -0
  33. package/dist/plugins/relay/types.d.ts +12 -0
  34. package/dist/plugins/relay/types.js +1 -0
  35. package/dist/plugins/tsup/index.js +1 -1
  36. package/dist/plugins/xo/index.js +1 -1
  37. package/dist/schema/configuration.d.ts +241 -70
  38. package/dist/schema/configuration.js +2 -1
  39. package/dist/schema/plugins.d.ts +92 -23
  40. package/dist/schema/plugins.js +4 -1
  41. package/dist/types/PluginNames.d.ts +2 -2
  42. package/dist/types/PluginNames.js +4 -1
  43. package/dist/types/config.d.ts +1 -0
  44. package/dist/typescript/ast-helpers.d.ts +16 -3
  45. package/dist/typescript/ast-helpers.js +21 -15
  46. package/dist/typescript/visitors/dynamic-imports/importCall.js +47 -53
  47. package/dist/typescript/visitors/exports/exportAssignment.js +17 -2
  48. package/dist/typescript/visitors/exports/exportKeyword.js +3 -22
  49. package/dist/util/cli-arguments.d.ts +1 -1
  50. package/dist/util/cli-arguments.js +1 -1
  51. package/dist/util/codeowners.js +1 -1
  52. package/dist/util/glob-core.d.ts +0 -8
  53. package/dist/util/glob-core.js +16 -49
  54. package/dist/util/input.d.ts +3 -1
  55. package/dist/util/parse-and-convert-gitignores.d.ts +8 -0
  56. package/dist/util/parse-and-convert-gitignores.js +40 -0
  57. package/dist/util/to-source-path.d.ts +1 -1
  58. package/dist/util/to-source-path.js +2 -2
  59. package/dist/version.d.ts +1 -1
  60. package/dist/version.js +1 -1
  61. package/package.json +4 -3
  62. package/schema.json +20 -4
  63. package/dist/plugins/tanstack-router/index.d.ts +0 -12
  64. package/dist/plugins/tanstack-router/index.js +0 -46
  65. package/dist/plugins/tanstack-router/resolveFromAST.d.ts +0 -2
  66. package/dist/plugins/tanstack-router/resolveFromAST.js +0 -28
  67. package/dist/plugins/tanstack-router/types.d.ts +0 -7
  68. /package/dist/plugins/{tanstack-router → nano-staged}/types.js +0 -0
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2
+ export declare const knipConfigurationSchema: z.ZodObject<{
3
3
  $schema: z.ZodOptional<z.ZodString>;
4
4
  rules: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"files">, z.ZodLiteral<"dependencies">, z.ZodLiteral<"devDependencies">, z.ZodLiteral<"optionalPeerDependencies">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"binaries">, z.ZodLiteral<"unresolved">, z.ZodLiteral<"exports">, z.ZodLiteral<"types">, z.ZodLiteral<"nsExports">, z.ZodLiteral<"nsTypes">, z.ZodLiteral<"duplicates">, z.ZodLiteral<"enumMembers">, z.ZodLiteral<"classMembers">]>, z.ZodEnum<["error", "warn", "off"]>>>;
5
5
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -13,15 +13,16 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
13
13
  ignoreExportsUsedInFile: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"class">, z.ZodLiteral<"enum">, z.ZodLiteral<"function">, z.ZodLiteral<"interface">, z.ZodLiteral<"member">, z.ZodLiteral<"type">]>, z.ZodBoolean>]>>;
14
14
  ignoreWorkspaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
15
  includeEntryExports: z.ZodOptional<z.ZodBoolean>;
16
- compilers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodString], z.ZodUnknown>, z.ZodString>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodString], z.ZodUnknown>, z.ZodPromise<z.ZodString>>]>>>;
17
- syncCompilers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodString], z.ZodUnknown>, z.ZodString>>>;
16
+ compilers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodString], z.ZodUnknown>, z.ZodString>, z.ZodLiteral<true>]>, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodString], z.ZodUnknown>, z.ZodPromise<z.ZodString>>]>>>;
17
+ syncCompilers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodString], z.ZodUnknown>, z.ZodString>, z.ZodLiteral<true>]>>>;
18
18
  asyncCompilers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodString], z.ZodUnknown>, z.ZodPromise<z.ZodString>>>>;
19
19
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20
- }, {
20
+ treatConfigHintsAsErrors: z.ZodOptional<z.ZodBoolean>;
21
+ } & {
21
22
  include: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"files">, z.ZodLiteral<"dependencies">, z.ZodLiteral<"devDependencies">, z.ZodLiteral<"optionalPeerDependencies">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"binaries">, z.ZodLiteral<"unresolved">, z.ZodLiteral<"exports">, z.ZodLiteral<"types">, z.ZodLiteral<"nsExports">, z.ZodLiteral<"nsTypes">, z.ZodLiteral<"duplicates">, z.ZodLiteral<"enumMembers">, z.ZodLiteral<"classMembers">]>, "many">>;
22
23
  exclude: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"files">, z.ZodLiteral<"dependencies">, z.ZodLiteral<"devDependencies">, z.ZodLiteral<"optionalPeerDependencies">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"binaries">, z.ZodLiteral<"unresolved">, z.ZodLiteral<"exports">, z.ZodLiteral<"types">, z.ZodLiteral<"nsExports">, z.ZodLiteral<"nsTypes">, z.ZodLiteral<"duplicates">, z.ZodLiteral<"enumMembers">, z.ZodLiteral<"classMembers">]>, "many">>;
23
- }>, {
24
- workspaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
24
+ } & {
25
+ workspaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25
26
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
26
27
  project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
27
28
  paths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
@@ -31,7 +32,7 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
31
32
  ignoreMembers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, "many">>;
32
33
  ignoreUnresolved: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, "many">>;
33
34
  includeEntryExports: z.ZodOptional<z.ZodBoolean>;
34
- }, {
35
+ } & {
35
36
  angular: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
36
37
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
37
38
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -84,6 +85,19 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
84
85
  entry?: string | string[] | undefined;
85
86
  project?: string | string[] | undefined;
86
87
  }>]>>;
88
+ bun: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
89
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
90
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
91
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ config?: string | string[] | undefined;
94
+ entry?: string | string[] | undefined;
95
+ project?: string | string[] | undefined;
96
+ }, {
97
+ config?: string | string[] | undefined;
98
+ entry?: string | string[] | undefined;
99
+ project?: string | string[] | undefined;
100
+ }>]>>;
87
101
  c8: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
88
102
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
89
103
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -539,6 +553,19 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
539
553
  entry?: string | string[] | undefined;
540
554
  project?: string | string[] | undefined;
541
555
  }>]>>;
556
+ 'nano-staged': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
557
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
558
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
559
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
560
+ }, "strip", z.ZodTypeAny, {
561
+ config?: string | string[] | undefined;
562
+ entry?: string | string[] | undefined;
563
+ project?: string | string[] | undefined;
564
+ }, {
565
+ config?: string | string[] | undefined;
566
+ entry?: string | string[] | undefined;
567
+ project?: string | string[] | undefined;
568
+ }>]>>;
542
569
  nest: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
543
570
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
544
571
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -669,6 +696,19 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
669
696
  entry?: string | string[] | undefined;
670
697
  project?: string | string[] | undefined;
671
698
  }>]>>;
699
+ oxlint: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
700
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
701
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
702
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
703
+ }, "strip", z.ZodTypeAny, {
704
+ config?: string | string[] | undefined;
705
+ entry?: string | string[] | undefined;
706
+ project?: string | string[] | undefined;
707
+ }, {
708
+ config?: string | string[] | undefined;
709
+ entry?: string | string[] | undefined;
710
+ project?: string | string[] | undefined;
711
+ }>]>>;
672
712
  playwright: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
673
713
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
674
714
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -786,6 +826,19 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
786
826
  entry?: string | string[] | undefined;
787
827
  project?: string | string[] | undefined;
788
828
  }>]>>;
829
+ relay: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
830
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
831
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
832
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
833
+ }, "strip", z.ZodTypeAny, {
834
+ config?: string | string[] | undefined;
835
+ entry?: string | string[] | undefined;
836
+ project?: string | string[] | undefined;
837
+ }, {
838
+ config?: string | string[] | undefined;
839
+ entry?: string | string[] | undefined;
840
+ project?: string | string[] | undefined;
841
+ }>]>>;
789
842
  'release-it': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
790
843
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
791
844
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -1020,19 +1073,6 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
1020
1073
  entry?: string | string[] | undefined;
1021
1074
  project?: string | string[] | undefined;
1022
1075
  }>]>>;
1023
- 'tanstack-router': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
1024
- config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1025
- entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1026
- project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1027
- }, "strip", z.ZodTypeAny, {
1028
- config?: string | string[] | undefined;
1029
- entry?: string | string[] | undefined;
1030
- project?: string | string[] | undefined;
1031
- }, {
1032
- config?: string | string[] | undefined;
1033
- entry?: string | string[] | undefined;
1034
- project?: string | string[] | undefined;
1035
- }>]>>;
1036
1076
  travis: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
1037
1077
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1038
1078
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -1293,7 +1333,7 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
1293
1333
  entry?: string | string[] | undefined;
1294
1334
  project?: string | string[] | undefined;
1295
1335
  }>]>>;
1296
- }>, "strip", z.ZodTypeAny, {
1336
+ }, "strip", z.ZodTypeAny, {
1297
1337
  node?: string | boolean | string[] | {
1298
1338
  config?: string | string[] | undefined;
1299
1339
  entry?: string | string[] | undefined;
@@ -1321,6 +1361,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
1321
1361
  entry?: string | string[] | undefined;
1322
1362
  project?: string | string[] | undefined;
1323
1363
  } | undefined;
1364
+ bun?: string | boolean | string[] | {
1365
+ config?: string | string[] | undefined;
1366
+ entry?: string | string[] | undefined;
1367
+ project?: string | string[] | undefined;
1368
+ } | undefined;
1324
1369
  c8?: string | boolean | string[] | {
1325
1370
  config?: string | string[] | undefined;
1326
1371
  entry?: string | string[] | undefined;
@@ -1496,6 +1541,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
1496
1541
  entry?: string | string[] | undefined;
1497
1542
  project?: string | string[] | undefined;
1498
1543
  } | undefined;
1544
+ 'nano-staged'?: string | boolean | string[] | {
1545
+ config?: string | string[] | undefined;
1546
+ entry?: string | string[] | undefined;
1547
+ project?: string | string[] | undefined;
1548
+ } | undefined;
1499
1549
  nest?: string | boolean | string[] | {
1500
1550
  config?: string | string[] | undefined;
1501
1551
  entry?: string | string[] | undefined;
@@ -1541,6 +1591,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
1541
1591
  entry?: string | string[] | undefined;
1542
1592
  project?: string | string[] | undefined;
1543
1593
  } | undefined;
1594
+ oxlint?: string | boolean | string[] | {
1595
+ config?: string | string[] | undefined;
1596
+ entry?: string | string[] | undefined;
1597
+ project?: string | string[] | undefined;
1598
+ } | undefined;
1544
1599
  playwright?: string | boolean | string[] | {
1545
1600
  config?: string | string[] | undefined;
1546
1601
  entry?: string | string[] | undefined;
@@ -1586,6 +1641,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
1586
1641
  entry?: string | string[] | undefined;
1587
1642
  project?: string | string[] | undefined;
1588
1643
  } | undefined;
1644
+ relay?: string | boolean | string[] | {
1645
+ config?: string | string[] | undefined;
1646
+ entry?: string | string[] | undefined;
1647
+ project?: string | string[] | undefined;
1648
+ } | undefined;
1589
1649
  'release-it'?: string | boolean | string[] | {
1590
1650
  config?: string | string[] | undefined;
1591
1651
  entry?: string | string[] | undefined;
@@ -1676,11 +1736,6 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
1676
1736
  entry?: string | string[] | undefined;
1677
1737
  project?: string | string[] | undefined;
1678
1738
  } | undefined;
1679
- 'tanstack-router'?: string | boolean | string[] | {
1680
- config?: string | string[] | undefined;
1681
- entry?: string | string[] | undefined;
1682
- project?: string | string[] | undefined;
1683
- } | undefined;
1684
1739
  travis?: string | boolean | string[] | {
1685
1740
  config?: string | string[] | undefined;
1686
1741
  entry?: string | string[] | undefined;
@@ -1816,6 +1871,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
1816
1871
  entry?: string | string[] | undefined;
1817
1872
  project?: string | string[] | undefined;
1818
1873
  } | undefined;
1874
+ bun?: string | boolean | string[] | {
1875
+ config?: string | string[] | undefined;
1876
+ entry?: string | string[] | undefined;
1877
+ project?: string | string[] | undefined;
1878
+ } | undefined;
1819
1879
  c8?: string | boolean | string[] | {
1820
1880
  config?: string | string[] | undefined;
1821
1881
  entry?: string | string[] | undefined;
@@ -1991,6 +2051,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
1991
2051
  entry?: string | string[] | undefined;
1992
2052
  project?: string | string[] | undefined;
1993
2053
  } | undefined;
2054
+ 'nano-staged'?: string | boolean | string[] | {
2055
+ config?: string | string[] | undefined;
2056
+ entry?: string | string[] | undefined;
2057
+ project?: string | string[] | undefined;
2058
+ } | undefined;
1994
2059
  nest?: string | boolean | string[] | {
1995
2060
  config?: string | string[] | undefined;
1996
2061
  entry?: string | string[] | undefined;
@@ -2036,6 +2101,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
2036
2101
  entry?: string | string[] | undefined;
2037
2102
  project?: string | string[] | undefined;
2038
2103
  } | undefined;
2104
+ oxlint?: string | boolean | string[] | {
2105
+ config?: string | string[] | undefined;
2106
+ entry?: string | string[] | undefined;
2107
+ project?: string | string[] | undefined;
2108
+ } | undefined;
2039
2109
  playwright?: string | boolean | string[] | {
2040
2110
  config?: string | string[] | undefined;
2041
2111
  entry?: string | string[] | undefined;
@@ -2081,6 +2151,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
2081
2151
  entry?: string | string[] | undefined;
2082
2152
  project?: string | string[] | undefined;
2083
2153
  } | undefined;
2154
+ relay?: string | boolean | string[] | {
2155
+ config?: string | string[] | undefined;
2156
+ entry?: string | string[] | undefined;
2157
+ project?: string | string[] | undefined;
2158
+ } | undefined;
2084
2159
  'release-it'?: string | boolean | string[] | {
2085
2160
  config?: string | string[] | undefined;
2086
2161
  entry?: string | string[] | undefined;
@@ -2171,11 +2246,6 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
2171
2246
  entry?: string | string[] | undefined;
2172
2247
  project?: string | string[] | undefined;
2173
2248
  } | undefined;
2174
- 'tanstack-router'?: string | boolean | string[] | {
2175
- config?: string | string[] | undefined;
2176
- entry?: string | string[] | undefined;
2177
- project?: string | string[] | undefined;
2178
- } | undefined;
2179
2249
  travis?: string | boolean | string[] | {
2180
2250
  config?: string | string[] | undefined;
2181
2251
  entry?: string | string[] | undefined;
@@ -2284,7 +2354,7 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
2284
2354
  ignoreUnresolved?: (string | RegExp)[] | undefined;
2285
2355
  includeEntryExports?: boolean | undefined;
2286
2356
  }>>>;
2287
- }>, {
2357
+ } & {
2288
2358
  angular: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2289
2359
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2290
2360
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -2337,6 +2407,19 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
2337
2407
  entry?: string | string[] | undefined;
2338
2408
  project?: string | string[] | undefined;
2339
2409
  }>]>>;
2410
+ bun: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2411
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2412
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2413
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2414
+ }, "strip", z.ZodTypeAny, {
2415
+ config?: string | string[] | undefined;
2416
+ entry?: string | string[] | undefined;
2417
+ project?: string | string[] | undefined;
2418
+ }, {
2419
+ config?: string | string[] | undefined;
2420
+ entry?: string | string[] | undefined;
2421
+ project?: string | string[] | undefined;
2422
+ }>]>>;
2340
2423
  c8: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2341
2424
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2342
2425
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -2792,6 +2875,19 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
2792
2875
  entry?: string | string[] | undefined;
2793
2876
  project?: string | string[] | undefined;
2794
2877
  }>]>>;
2878
+ 'nano-staged': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2879
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2880
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2881
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2882
+ }, "strip", z.ZodTypeAny, {
2883
+ config?: string | string[] | undefined;
2884
+ entry?: string | string[] | undefined;
2885
+ project?: string | string[] | undefined;
2886
+ }, {
2887
+ config?: string | string[] | undefined;
2888
+ entry?: string | string[] | undefined;
2889
+ project?: string | string[] | undefined;
2890
+ }>]>>;
2795
2891
  nest: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2796
2892
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2797
2893
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -2922,6 +3018,19 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
2922
3018
  entry?: string | string[] | undefined;
2923
3019
  project?: string | string[] | undefined;
2924
3020
  }>]>>;
3021
+ oxlint: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
3022
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3023
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3024
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3025
+ }, "strip", z.ZodTypeAny, {
3026
+ config?: string | string[] | undefined;
3027
+ entry?: string | string[] | undefined;
3028
+ project?: string | string[] | undefined;
3029
+ }, {
3030
+ config?: string | string[] | undefined;
3031
+ entry?: string | string[] | undefined;
3032
+ project?: string | string[] | undefined;
3033
+ }>]>>;
2925
3034
  playwright: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2926
3035
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2927
3036
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -3039,6 +3148,19 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
3039
3148
  entry?: string | string[] | undefined;
3040
3149
  project?: string | string[] | undefined;
3041
3150
  }>]>>;
3151
+ relay: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
3152
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3153
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3154
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3155
+ }, "strip", z.ZodTypeAny, {
3156
+ config?: string | string[] | undefined;
3157
+ entry?: string | string[] | undefined;
3158
+ project?: string | string[] | undefined;
3159
+ }, {
3160
+ config?: string | string[] | undefined;
3161
+ entry?: string | string[] | undefined;
3162
+ project?: string | string[] | undefined;
3163
+ }>]>>;
3042
3164
  'release-it': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
3043
3165
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3044
3166
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -3273,19 +3395,6 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
3273
3395
  entry?: string | string[] | undefined;
3274
3396
  project?: string | string[] | undefined;
3275
3397
  }>]>>;
3276
- 'tanstack-router': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
3277
- config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3278
- entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3279
- project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3280
- }, "strip", z.ZodTypeAny, {
3281
- config?: string | string[] | undefined;
3282
- entry?: string | string[] | undefined;
3283
- project?: string | string[] | undefined;
3284
- }, {
3285
- config?: string | string[] | undefined;
3286
- entry?: string | string[] | undefined;
3287
- project?: string | string[] | undefined;
3288
- }>]>>;
3289
3398
  travis: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
3290
3399
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3291
3400
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -3546,7 +3655,7 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
3546
3655
  entry?: string | string[] | undefined;
3547
3656
  project?: string | string[] | undefined;
3548
3657
  }>]>>;
3549
- }>, "strict", z.ZodTypeAny, {
3658
+ }, "strict", z.ZodTypeAny, {
3550
3659
  exclude?: ("dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
3551
3660
  tags?: string[] | undefined;
3552
3661
  include?: ("dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
@@ -3577,6 +3686,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
3577
3686
  entry?: string | string[] | undefined;
3578
3687
  project?: string | string[] | undefined;
3579
3688
  } | undefined;
3689
+ bun?: string | boolean | string[] | {
3690
+ config?: string | string[] | undefined;
3691
+ entry?: string | string[] | undefined;
3692
+ project?: string | string[] | undefined;
3693
+ } | undefined;
3580
3694
  c8?: string | boolean | string[] | {
3581
3695
  config?: string | string[] | undefined;
3582
3696
  entry?: string | string[] | undefined;
@@ -3752,6 +3866,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
3752
3866
  entry?: string | string[] | undefined;
3753
3867
  project?: string | string[] | undefined;
3754
3868
  } | undefined;
3869
+ 'nano-staged'?: string | boolean | string[] | {
3870
+ config?: string | string[] | undefined;
3871
+ entry?: string | string[] | undefined;
3872
+ project?: string | string[] | undefined;
3873
+ } | undefined;
3755
3874
  nest?: string | boolean | string[] | {
3756
3875
  config?: string | string[] | undefined;
3757
3876
  entry?: string | string[] | undefined;
@@ -3797,6 +3916,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
3797
3916
  entry?: string | string[] | undefined;
3798
3917
  project?: string | string[] | undefined;
3799
3918
  } | undefined;
3919
+ oxlint?: string | boolean | string[] | {
3920
+ config?: string | string[] | undefined;
3921
+ entry?: string | string[] | undefined;
3922
+ project?: string | string[] | undefined;
3923
+ } | undefined;
3800
3924
  playwright?: string | boolean | string[] | {
3801
3925
  config?: string | string[] | undefined;
3802
3926
  entry?: string | string[] | undefined;
@@ -3842,6 +3966,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
3842
3966
  entry?: string | string[] | undefined;
3843
3967
  project?: string | string[] | undefined;
3844
3968
  } | undefined;
3969
+ relay?: string | boolean | string[] | {
3970
+ config?: string | string[] | undefined;
3971
+ entry?: string | string[] | undefined;
3972
+ project?: string | string[] | undefined;
3973
+ } | undefined;
3845
3974
  'release-it'?: string | boolean | string[] | {
3846
3975
  config?: string | string[] | undefined;
3847
3976
  entry?: string | string[] | undefined;
@@ -3932,11 +4061,6 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
3932
4061
  entry?: string | string[] | undefined;
3933
4062
  project?: string | string[] | undefined;
3934
4063
  } | undefined;
3935
- 'tanstack-router'?: string | boolean | string[] | {
3936
- config?: string | string[] | undefined;
3937
- entry?: string | string[] | undefined;
3938
- project?: string | string[] | undefined;
3939
- } | undefined;
3940
4064
  travis?: string | boolean | string[] | {
3941
4065
  config?: string | string[] | undefined;
3942
4066
  entry?: string | string[] | undefined;
@@ -4048,9 +4172,10 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
4048
4172
  ignoreExportsUsedInFile?: boolean | Partial<Record<"function" | "type" | "enum" | "class" | "interface" | "member", boolean>> | undefined;
4049
4173
  ignoreWorkspaces?: string[] | undefined;
4050
4174
  includeEntryExports?: boolean | undefined;
4051
- compilers?: Record<string, ((args_0: string, args_1: string, ...args: unknown[]) => string) | ((args_0: string, args_1: string, ...args: unknown[]) => Promise<string>)> | undefined;
4052
- syncCompilers?: Record<string, (args_0: string, args_1: string, ...args: unknown[]) => string> | undefined;
4175
+ compilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string) | ((args_0: string, args_1: string, ...args: unknown[]) => Promise<string>)> | undefined;
4176
+ syncCompilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string)> | undefined;
4053
4177
  asyncCompilers?: Record<string, (args_0: string, args_1: string, ...args: unknown[]) => Promise<string>> | undefined;
4178
+ treatConfigHintsAsErrors?: boolean | undefined;
4054
4179
  workspaces?: Record<string, {
4055
4180
  node?: string | boolean | string[] | {
4056
4181
  config?: string | string[] | undefined;
@@ -4079,6 +4204,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
4079
4204
  entry?: string | string[] | undefined;
4080
4205
  project?: string | string[] | undefined;
4081
4206
  } | undefined;
4207
+ bun?: string | boolean | string[] | {
4208
+ config?: string | string[] | undefined;
4209
+ entry?: string | string[] | undefined;
4210
+ project?: string | string[] | undefined;
4211
+ } | undefined;
4082
4212
  c8?: string | boolean | string[] | {
4083
4213
  config?: string | string[] | undefined;
4084
4214
  entry?: string | string[] | undefined;
@@ -4254,6 +4384,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
4254
4384
  entry?: string | string[] | undefined;
4255
4385
  project?: string | string[] | undefined;
4256
4386
  } | undefined;
4387
+ 'nano-staged'?: string | boolean | string[] | {
4388
+ config?: string | string[] | undefined;
4389
+ entry?: string | string[] | undefined;
4390
+ project?: string | string[] | undefined;
4391
+ } | undefined;
4257
4392
  nest?: string | boolean | string[] | {
4258
4393
  config?: string | string[] | undefined;
4259
4394
  entry?: string | string[] | undefined;
@@ -4299,6 +4434,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
4299
4434
  entry?: string | string[] | undefined;
4300
4435
  project?: string | string[] | undefined;
4301
4436
  } | undefined;
4437
+ oxlint?: string | boolean | string[] | {
4438
+ config?: string | string[] | undefined;
4439
+ entry?: string | string[] | undefined;
4440
+ project?: string | string[] | undefined;
4441
+ } | undefined;
4302
4442
  playwright?: string | boolean | string[] | {
4303
4443
  config?: string | string[] | undefined;
4304
4444
  entry?: string | string[] | undefined;
@@ -4344,6 +4484,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
4344
4484
  entry?: string | string[] | undefined;
4345
4485
  project?: string | string[] | undefined;
4346
4486
  } | undefined;
4487
+ relay?: string | boolean | string[] | {
4488
+ config?: string | string[] | undefined;
4489
+ entry?: string | string[] | undefined;
4490
+ project?: string | string[] | undefined;
4491
+ } | undefined;
4347
4492
  'release-it'?: string | boolean | string[] | {
4348
4493
  config?: string | string[] | undefined;
4349
4494
  entry?: string | string[] | undefined;
@@ -4434,11 +4579,6 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
4434
4579
  entry?: string | string[] | undefined;
4435
4580
  project?: string | string[] | undefined;
4436
4581
  } | undefined;
4437
- 'tanstack-router'?: string | boolean | string[] | {
4438
- config?: string | string[] | undefined;
4439
- entry?: string | string[] | undefined;
4440
- project?: string | string[] | undefined;
4441
- } | undefined;
4442
4582
  travis?: string | boolean | string[] | {
4443
4583
  config?: string | string[] | undefined;
4444
4584
  entry?: string | string[] | undefined;
@@ -4578,6 +4718,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
4578
4718
  entry?: string | string[] | undefined;
4579
4719
  project?: string | string[] | undefined;
4580
4720
  } | undefined;
4721
+ bun?: string | boolean | string[] | {
4722
+ config?: string | string[] | undefined;
4723
+ entry?: string | string[] | undefined;
4724
+ project?: string | string[] | undefined;
4725
+ } | undefined;
4581
4726
  c8?: string | boolean | string[] | {
4582
4727
  config?: string | string[] | undefined;
4583
4728
  entry?: string | string[] | undefined;
@@ -4753,6 +4898,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
4753
4898
  entry?: string | string[] | undefined;
4754
4899
  project?: string | string[] | undefined;
4755
4900
  } | undefined;
4901
+ 'nano-staged'?: string | boolean | string[] | {
4902
+ config?: string | string[] | undefined;
4903
+ entry?: string | string[] | undefined;
4904
+ project?: string | string[] | undefined;
4905
+ } | undefined;
4756
4906
  nest?: string | boolean | string[] | {
4757
4907
  config?: string | string[] | undefined;
4758
4908
  entry?: string | string[] | undefined;
@@ -4798,6 +4948,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
4798
4948
  entry?: string | string[] | undefined;
4799
4949
  project?: string | string[] | undefined;
4800
4950
  } | undefined;
4951
+ oxlint?: string | boolean | string[] | {
4952
+ config?: string | string[] | undefined;
4953
+ entry?: string | string[] | undefined;
4954
+ project?: string | string[] | undefined;
4955
+ } | undefined;
4801
4956
  playwright?: string | boolean | string[] | {
4802
4957
  config?: string | string[] | undefined;
4803
4958
  entry?: string | string[] | undefined;
@@ -4843,6 +4998,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
4843
4998
  entry?: string | string[] | undefined;
4844
4999
  project?: string | string[] | undefined;
4845
5000
  } | undefined;
5001
+ relay?: string | boolean | string[] | {
5002
+ config?: string | string[] | undefined;
5003
+ entry?: string | string[] | undefined;
5004
+ project?: string | string[] | undefined;
5005
+ } | undefined;
4846
5006
  'release-it'?: string | boolean | string[] | {
4847
5007
  config?: string | string[] | undefined;
4848
5008
  entry?: string | string[] | undefined;
@@ -4933,11 +5093,6 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
4933
5093
  entry?: string | string[] | undefined;
4934
5094
  project?: string | string[] | undefined;
4935
5095
  } | undefined;
4936
- 'tanstack-router'?: string | boolean | string[] | {
4937
- config?: string | string[] | undefined;
4938
- entry?: string | string[] | undefined;
4939
- project?: string | string[] | undefined;
4940
- } | undefined;
4941
5096
  travis?: string | boolean | string[] | {
4942
5097
  config?: string | string[] | undefined;
4943
5098
  entry?: string | string[] | undefined;
@@ -5049,9 +5204,10 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
5049
5204
  ignoreExportsUsedInFile?: boolean | Partial<Record<"function" | "type" | "enum" | "class" | "interface" | "member", boolean>> | undefined;
5050
5205
  ignoreWorkspaces?: string[] | undefined;
5051
5206
  includeEntryExports?: boolean | undefined;
5052
- compilers?: Record<string, ((args_0: string, args_1: string, ...args: unknown[]) => string) | ((args_0: string, args_1: string, ...args: unknown[]) => Promise<string>)> | undefined;
5053
- syncCompilers?: Record<string, (args_0: string, args_1: string, ...args: unknown[]) => string> | undefined;
5207
+ compilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string) | ((args_0: string, args_1: string, ...args: unknown[]) => Promise<string>)> | undefined;
5208
+ syncCompilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string)> | undefined;
5054
5209
  asyncCompilers?: Record<string, (args_0: string, args_1: string, ...args: unknown[]) => Promise<string>> | undefined;
5210
+ treatConfigHintsAsErrors?: boolean | undefined;
5055
5211
  workspaces?: Record<string, {
5056
5212
  node?: string | boolean | string[] | {
5057
5213
  config?: string | string[] | undefined;
@@ -5080,6 +5236,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
5080
5236
  entry?: string | string[] | undefined;
5081
5237
  project?: string | string[] | undefined;
5082
5238
  } | undefined;
5239
+ bun?: string | boolean | string[] | {
5240
+ config?: string | string[] | undefined;
5241
+ entry?: string | string[] | undefined;
5242
+ project?: string | string[] | undefined;
5243
+ } | undefined;
5083
5244
  c8?: string | boolean | string[] | {
5084
5245
  config?: string | string[] | undefined;
5085
5246
  entry?: string | string[] | undefined;
@@ -5255,6 +5416,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
5255
5416
  entry?: string | string[] | undefined;
5256
5417
  project?: string | string[] | undefined;
5257
5418
  } | undefined;
5419
+ 'nano-staged'?: string | boolean | string[] | {
5420
+ config?: string | string[] | undefined;
5421
+ entry?: string | string[] | undefined;
5422
+ project?: string | string[] | undefined;
5423
+ } | undefined;
5258
5424
  nest?: string | boolean | string[] | {
5259
5425
  config?: string | string[] | undefined;
5260
5426
  entry?: string | string[] | undefined;
@@ -5300,6 +5466,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
5300
5466
  entry?: string | string[] | undefined;
5301
5467
  project?: string | string[] | undefined;
5302
5468
  } | undefined;
5469
+ oxlint?: string | boolean | string[] | {
5470
+ config?: string | string[] | undefined;
5471
+ entry?: string | string[] | undefined;
5472
+ project?: string | string[] | undefined;
5473
+ } | undefined;
5303
5474
  playwright?: string | boolean | string[] | {
5304
5475
  config?: string | string[] | undefined;
5305
5476
  entry?: string | string[] | undefined;
@@ -5345,6 +5516,11 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
5345
5516
  entry?: string | string[] | undefined;
5346
5517
  project?: string | string[] | undefined;
5347
5518
  } | undefined;
5519
+ relay?: string | boolean | string[] | {
5520
+ config?: string | string[] | undefined;
5521
+ entry?: string | string[] | undefined;
5522
+ project?: string | string[] | undefined;
5523
+ } | undefined;
5348
5524
  'release-it'?: string | boolean | string[] | {
5349
5525
  config?: string | string[] | undefined;
5350
5526
  entry?: string | string[] | undefined;
@@ -5435,11 +5611,6 @@ export declare const knipConfigurationSchema: z.ZodObject<z.objectUtil.extendSha
5435
5611
  entry?: string | string[] | undefined;
5436
5612
  project?: string | string[] | undefined;
5437
5613
  } | undefined;
5438
- 'tanstack-router'?: string | boolean | string[] | {
5439
- config?: string | string[] | undefined;
5440
- entry?: string | string[] | undefined;
5441
- project?: string | string[] | undefined;
5442
- } | undefined;
5443
5614
  travis?: string | boolean | string[] | {
5444
5615
  config?: string | string[] | undefined;
5445
5616
  entry?: string | string[] | undefined;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { globSchema, pluginsSchema } from './plugins.js';
3
3
  const pathsSchema = z.record(z.string(), z.array(z.string()));
4
- const syncCompilerSchema = z.function().args(z.string(), z.string()).returns(z.string());
4
+ const syncCompilerSchema = z.union([z.function().args(z.string(), z.string()).returns(z.string()), z.literal(true)]);
5
5
  const asyncCompilerSchema = z.function().args(z.string(), z.string()).returns(z.promise(z.string()));
6
6
  const compilerSchema = z.union([syncCompilerSchema, asyncCompilerSchema]);
7
7
  const compilersSchema = z.record(z.string(), compilerSchema);
@@ -52,6 +52,7 @@ const rootConfigurationSchema = z.object({
52
52
  syncCompilers: z.record(z.string(), syncCompilerSchema).optional(),
53
53
  asyncCompilers: z.record(z.string(), asyncCompilerSchema).optional(),
54
54
  tags: z.array(z.string()).optional(),
55
+ treatConfigHintsAsErrors: z.boolean().optional(),
55
56
  });
56
57
  const reportConfigSchema = z.object({
57
58
  include: z.array(issueTypeSchema).optional(),