A worked example, rendered from real sample data. Sign in to run the tool on your own input.
semi=true quote=single trailing=all width=100 tab=2 arrow=always{
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf"
}
Build a Prettier config — semi, quote style, trailing comma, width. Part of the DevTools Surf developer suite. Browse more tools in the Generators collection.