@offchainlabs/prettier-config
v0.2.1
Published
Shareable Offchain labs prettier config
Downloads
339
Readme
Prettier
Provide reusable prettier config
- Install the peerDependencies of prettier config:
npx install-peerdeps -Y --dev @offchainlabs/prettier-config
- Usage
You can extend the configuration in your project:
package.json:
"prettier": "@offchainlabs/prettier-config"
.prettierrc
, .prettierrc.yaml
, .prettierrc.yml
or .prettierrc.json
"@offchainlabs/prettier-config"
prettier.config.js
, .prettierrc.js
module.exports = {
...require('@offchainlabs/prettier-config'),
// override here
};