@mbtech-nl/prettier-config
v1.0.1
Published
Shared Prettier configuration for mbtech-nl projects
Readme
@mbtech-nl/prettier-config
Shared Prettier configuration for mbtech-nl projects.
Install
pnpm add -D @mbtech-nl/prettier-config prettierUsage
In package.json:
{
"prettier": "@mbtech-nl/prettier-config"
}Or in prettier.config.js if you need to extend:
import mbtech from '@mbtech-nl/prettier-config';
export default {
...mbtech,
printWidth: 120, // override example
};Config
| Option | Value |
|---|---|
| semi | true |
| singleQuote | true |
| trailingComma | 'all' |
| printWidth | 100 |
| tabWidth | 2 |
| arrowParens | 'avoid' |
| endOfLine | 'lf' |
