Format spec
line width
80
indent
4 spaces
semicolons
none
quotes
single
trailing commas
all
bracket spacing
true
Why these choices: 80 chars fits a split terminal. 4-space indent makes nesting depth visible before it becomes a problem. No semis removes line-noise with no semantic cost. Single quotes are one less keystroke for the common case.
Install
Install with AI — paste into Claude Code, Cursor, or any AI assistant
Add ShotScriptFmt to this project: run
npm install --save-dev shotscript, then add "shotscript/fmt" to the extends array in biome.json. Full ShotScript setup →Manual setup
biome.json
// biome.json { "extends": ["shotscript/fmt"] }
$
npx @biomejs/biome format --write src/