@constvarlet/prettier-config
v1.0.1
Published
prettier configuration
Downloads
3
Readme
A shared Prettier config
Installation
yarn add --dev @constvarlet/prettier-config
Usage
- package.json
{
"prettier": "@constvarlet/prettier-config"
}
- prettier.config.js
module.exports = {
...require("@constvarlet/prettier-config");
// ...
}
Options
default parser is typescript
If you using only javascript just add js
{
"prettier": "@constvarlet/prettier-config/js"
}