prettier-config-qiwi
v3.0.0
Published
Prettier rules related to QIWI projects
Downloads
324
Readme
prettier-config-qiwi
Prettier rules related to QIWI projects.
Install
npm add prettier-config-qiwi -D
yarn add prettier-config-qiwi -D
Usage
Add in your package.json
:
{
"prettier": "prettier-config-qiwi"
}
If you want overwrite some properties, you need import the file in a .prettierrc.js file and export the modifications:
module.exports = {
...require('prettier-config-qiwi'),
semi: false,
}
Run format your code:
prettier --write "src/**/*.ts"
Contribution
If you find this config not strong enough you may add additional rules, write some tests, and trigger assets generation.
yarn test