1.0.2 • Published 2 years ago
@arsams/prettierrc v1.0.2
@arsams/prettierrc
Exports the following configuration
{
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"printWidth": 120,
"tabs": false,
"quoteProps": "as-needed",
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "always",
"endOfLine": "lf",
"singleAttributePerLine": false
}
How to:
- Install
$ yarn add --dev @arsams/prettierrc
- Add to .prettierrc.js
const config = require("@arsams/prettierrc");
module.exports = {
...config,
// Your own rules or overrides
};