@aiyan/prettier-config
v1.0.2
Published
A Prettier configuration with reasonable defaults for TypeScript and React apps
Downloads
12
Readme
@aiyan/prettier-config
A Prettier configuration with reasonable defaults for TypeScript and React apps.
Usage
Installation
npm i -D @aiyan/prettier-config
Using the configuration as-is
Edit package.json
:
{
// ...
"prettier": "@aiyan/prettier-config"
}
Extending the configuration
Use a .prettierrc.js
file:
module.exports = {
...require('@aiyan/prettier-config'),
arrowParens: "always",
};