@monteway/prettier
v0.4.2
Published
Basic Prettier config for Monterail projects
Downloads
1,006
Maintainers
Readme
@monteway/prettier
Very basic configuration for Prettier.
Install
npm i -D prettier @monteway/prettier
Usage
Simply create your Prettier config file with following content:
module.exports = require('@monteway/prettier/config');
Defaults
This is the default configuration for Prettier.
For the sake of consistency between projects it should not be changes or overwritten.
{
// Max line length is 100 characters.
printWidth: 100,
// Put semicolons always.
semi: true,
// Use single quotes.
singleQuote: true,
// Identation should be 2 spaces.
tabWidth: 2,
// Put commas whenever possible.
trailingComma: 'all',
}