@savvy-web/silk 3.8.4 → 3.9.1

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/biome/silk.jsonc CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.5.1/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.9/schema.json",
3
3
  "assist": {
4
4
  "actions": {
5
5
  "source": {
@@ -13,6 +13,35 @@
13
13
  },
14
14
  "enabled": true
15
15
  },
16
+ "css": {
17
+ "linter": {
18
+ "enabled": true
19
+ },
20
+ "parser": {
21
+ "cssModules": true
22
+ }
23
+ },
24
+ "files": {
25
+ "includes": [
26
+ "**",
27
+ "!**/node_modules",
28
+ "!**/dist",
29
+ "!**/.repos",
30
+ "!**/.turbo",
31
+ "!**/.git",
32
+ "!**/.rslib",
33
+ "!**/.vitest",
34
+ "!**/.coverage",
35
+ "!coverage",
36
+ "!.claude/worktrees",
37
+ "!**/__test__/**/fixtures",
38
+ "!**/__test__/snapshots",
39
+ "!**/__test__/**/fixtures",
40
+ "!**/__test__/**/snapshots",
41
+ "!**/__fixtures__",
42
+ "!**/__snapshots__"
43
+ ]
44
+ },
16
45
  "formatter": {
17
46
  "enabled": true,
18
47
  "formatWithErrors": true,
@@ -20,6 +49,15 @@
20
49
  "indentWidth": 2,
21
50
  "lineWidth": 120
22
51
  },
52
+ "javascript": {
53
+ "resolver": {
54
+ // Catalog-aware module resolution: lets noUndeclaredDependencies and
55
+ // friends understand `catalog:` / `catalog:<name>` specs in package.json.
56
+ // Requires Biome >= 2.5. Consumers are carried onto it by silk-update-action
57
+ // and `savvy init`, which rewrite the $schema URL CI installs from.
58
+ "experimentalPnpmCatalogs": true
59
+ }
60
+ },
23
61
  "json": {
24
62
  "assist": {
25
63
  "enabled": true
@@ -32,14 +70,6 @@
32
70
  "enabled": true
33
71
  }
34
72
  },
35
- "css": {
36
- "parser": {
37
- "cssModules": true
38
- },
39
- "linter": {
40
- "enabled": true
41
- }
42
- },
43
73
  "linter": {
44
74
  "domains": {
45
75
  "project": "all"
@@ -52,6 +82,7 @@
52
82
  }
53
83
  },
54
84
  "correctness": {
85
+ "noUnresolvedImports": "off",
55
86
  "noUnusedVariables": {
56
87
  "level": "error",
57
88
  "options": {
@@ -73,13 +104,12 @@
73
104
  "tsx": "js"
74
105
  }
75
106
  }
76
- },
77
- "noUnresolvedImports": "off"
107
+ }
78
108
  },
79
109
  "nursery": {
80
110
  "useExplicitType": "off"
81
111
  },
82
- "recommended": true,
112
+ "preset": "recommended",
83
113
  "style": {
84
114
  "useConsistentTypeDefinitions": "error",
85
115
  "useImportType": {
@@ -91,10 +121,10 @@
91
121
  "useNodejsImportProtocol": "error"
92
122
  },
93
123
  "suspicious": {
94
- "noDuplicateDependencies": "error",
95
- "noImportCycles": "error",
96
124
  "noBiomeFirstException": "error",
125
+ "noDuplicateDependencies": "error",
97
126
  "noDuplicateObjectKeys": "error",
127
+ "noImportCycles": "error",
98
128
  "noQuickfixBiome": "error",
99
129
  "useBiomeIgnoreFolder": "error"
100
130
  }
@@ -117,7 +147,25 @@
117
147
  }
118
148
  }
119
149
  },
120
- "includes": ["**/turbo.json", "**/tsconfig.json", "**/tsconfig.*.json", "**/public/tsconfig/**/*.json"]
150
+ "includes": [
151
+ "**/turbo.json",
152
+ "**/tsconfig.json",
153
+ "**/tsconfig.*.json",
154
+ "**/public/tsconfig/**/*.json",
155
+ "**/.claude/settings.json",
156
+ "**/.claude/settings.local.json",
157
+ "**/.claude/design/design.config.json",
158
+ "**/.changeset/config.json",
159
+ "**/.markdownlint.json",
160
+ "**/devcontainer.json",
161
+ "**/.vscode/*.json",
162
+ "**/biome.json",
163
+ "**/biome.jsonc",
164
+ "**/silk.jsonc",
165
+ "**/.markdownlint-cli2.jsonc",
166
+ "**/.claude-plugin/plugin.json",
167
+ "**/.claude-plugin/marketplace.json"
168
+ ]
121
169
  },
122
170
  {
123
171
  "includes": [
@@ -145,26 +193,5 @@
145
193
  "defaultBranch": "main",
146
194
  "enabled": true,
147
195
  "useIgnoreFile": true
148
- },
149
- "files": {
150
- "includes": [
151
- "**",
152
- "!**/node_modules",
153
- "!**/dist",
154
- "!**/.repos",
155
- "!**/.turbo",
156
- "!**/.git",
157
- "!**/.rslib",
158
- "!**/.vitest",
159
- "!**/.coverage",
160
- "!coverage",
161
- "!.claude/worktrees",
162
- "!**/__test__/**/fixtures",
163
- "!**/__test__/snapshots",
164
- "!**/__test__/**/fixtures",
165
- "!**/__test__/**/snapshots",
166
- "!**/__fixtures__",
167
- "!**/__snapshots__"
168
- ]
169
196
  }
170
197
  }