Skip to content

Commit b209165

Browse files
committed
chore(oxfmt): enable JSDoc formatting
oxfmt 0.37+ formats JSDoc comments. Adopt the canonical `jsdoc` block from socket-repo-template; it preserves the existing JSDoc style across this repo (verified: zero new diff under the new config). Source of truth: socket-repo-template/template/.oxfmtrc.json. Future updates flow through `scripts/sync-scaffolding.mjs --all --fix`.
1 parent 1c88d87 commit b209165

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.oxfmtrc.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@
1212
"bracketSameLine": false,
1313
"bracketSpacing": true,
1414
"singleAttributePerLine": false,
15+
"jsdoc": {
16+
"addDefaultToDescription": false,
17+
"bracketSpacing": false,
18+
"capitalizeDescriptions": true,
19+
"commentLineStrategy": "multiline",
20+
"descriptionTag": false,
21+
"descriptionWithDot": true,
22+
"keepUnparsableExampleIndent": false,
23+
"lineWrappingStyle": "greedy",
24+
"preferCodeFences": false,
25+
"separateReturnsFromParam": false,
26+
"separateTagGroups": true
27+
},
1528
"ignorePatterns": [
1629
"**/.cache",
1730
"**/.claude",

0 commit comments

Comments
 (0)