@toolsync/builtin/prettier
Integrates with Prettier for code formatting
Installation
If you haven't already, install the @toolsync/builtin` package
Configure this tool like any other inside your toolsync.json file:
{
"@toolsync/builtin/prettier": { /* Your config here */ }
}Available options
| Prop | Type | Default |
|---|---|---|
settings? | Record<string, any> | { singleQuote: true, printWidth: 100 } |
scriptName? | Partial<{ write: string; check: string; }> | { write: 'format', check: 'check:format' } |
version? | string | - |
Found an issue? Have a suggestion? Open an issue on GitHub ✨.