You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e76cf6b
Browse filesBrowse the repository at this point in the historyBrowse files
Anchor biome's build/out/uploads ignores to the real output and runtime
dirs so apps/sim/lib/uploads and the uploads API routes are linted and
counted by check:explicit-any (baseline grows only under those paths).
check:explicit-any fails on biome-ignore comments for its two rules.
check:file-names scans root scripts/ and vitest.shared.ts, allows Next.js
interception segments and dot-prefixed names, ignores the old path of an
unstaged mv, and points tool-mandated names at its allowlist. All three
ratchets print a rename hint instead of only the shrink instruction.
'The utils/ or helpers/ folder already names the role; drop the suffix from the file name.',
186
205
stutter:
187
-
'The parent folder already names the domain; drop the repeated prefix (lib/logs/log-views.ts → lib/logs/views.ts). If the short name collides, pick a more specific one.',
206
+
'The parent folder already names the domain; drop the repeated prefix (lib/logs/log-views.ts → lib/logs/views.ts). If the short name collides, pick a more specific one. '+
207
+
'Existing `handlers/<x>/<x>-handler.ts` files are baselined debt, not a convention to copy.',
188
208
}
189
209
190
210
functionkey(violation: Violation): string{
@@ -239,7 +259,8 @@ if (added.length || stale.length) {
239
259
if(added.length){
240
260
console.error(
241
261
`\n${added.length} new file-name violation(s). Rename the file and update its importers; `+
242
-
'never add a new file to the baseline.'
262
+
'never add a new file to the baseline. A name mandated by an outside tool goes in the '+
263
+
'allowlist at the top of scripts/check-file-names.ts with a comment saying why.'
243
264
)
244
265
}
245
266
if(stale.length){
@@ -249,6 +270,15 @@ if (added.length || stale.length) {
249
270
'baseline: bun run scripts/check-file-names.ts --update'
0 commit comments