Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/build-updater-manifest.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const manifest = {
platforms,
};

writeFileSync(outPath, JSON.stringify(manifest, null, 2) + '\n');
writeFileSync(outPath, `${JSON.stringify(manifest, null, 2)}\n`);
console.log(
`Wrote ${outPath} for v${version} (${Object.keys(platforms).length} platform(s): ${Object.keys(
platforms,
Expand Down
2 changes: 1 addition & 1 deletion bin/rewrite-release-notes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ async function postToDiscord(repoSlug, version, notes) {
if (!webhook) throw new Error('DISCORD_RELEASE_WEBHOOK is not set');

const releaseUrl = `https://github.com/${repoSlug}/releases/tag/${version}`;
const truncated = notes.length > 3900 ? notes.slice(0, 3900) + '\n...' : notes;
const truncated = notes.length > 3900 ? `${notes.slice(0, 3900)}\n...` : notes;
const repoName = repoSlug.split('/').pop();
const footer =
process.env.RELEASE_NOTES_FOOTER || `protoLabs · ${repoName}`;
Expand Down
2 changes: 1 addition & 1 deletion bin/verify-workspace-config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function extractRunsOn(file, body) {
}

// Strip a trailing comment from the value before parsing labels.
let val = m[1].replace(/\s+#.*$/, '').trim();
const val = m[1].replace(/\s+#.*$/, '').trim();

const push = (label) => out.push({ file, runsOn: label, allowed, reason });
if (val.startsWith('[')) {
Expand Down
19 changes: 19 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://biomejs.dev/schemas/2.4.16/schema.json",
"files": {
"ignoreUnknown": true,
"includes": ["**", "!**/node_modules", "!**/coverage", "!**/dist", "!**/*.tgz"]
},
"formatter": {
"enabled": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noTemplateCurlyInString": "off"
}
}
}
}
19 changes: 0 additions & 19 deletions eslint.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions lib/workspace-config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export function evaluateStandard(manifest, opts = {}) {
description: rule.description,
severity: rule.severity,
fix: rule.fix,
...(detail && detail.length ? { detail } : {}),
...(detail?.length ? { detail } : {}),
});
}
}
Expand All @@ -261,7 +261,7 @@ export function evaluateStandard(manifest, opts = {}) {
*/
export const SCAFFOLD_FILES = [
{ path: '.beads/issues.jsonl', content: '' },
{ path: '.automaker/settings.json', content: JSON.stringify({ version: 1 }, null, 2) + '\n' },
{ path: '.automaker/settings.json', content: `${JSON.stringify({ version: 1 }, null, 2)}\n` },
{ path: WORKFLOW_SECURITY_LINT_PATH, content: WORKFLOW_SECURITY_LINT_CONTENT },
];

Expand Down
Loading
Loading