Prettier config
{
"$schema": "http://json.schemastore.org/prettierrc",
"semi": true,
"singleQuote": true,
"quoteProps": "consistent",
"trailingComma": "all",
"bracketSpacing": true
}
Usage
Install.
npm install prettier @ssen/prettier-config --save-dev
Add config files.
.prettierrc.js
module.exports = {
...require('@ssen/prettier-config'),
};
.prettierignore
node_modules
out