@offchainlabs/prettier-config

0.2.1 • Public • Published

Prettier

Provide reusable prettier config

  1. Install the peerDependencies of prettier config:
npx install-peerdeps -Y --dev @offchainlabs/prettier-config
  1. 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
};

Readme

Keywords

none

Package Sidebar

Install

npm i @offchainlabs/prettier-config

Weekly Downloads

44

Version

0.2.1

License

MIT

Unpacked Size

1.33 kB

Total Files

5

Last publish

Collaborators

  • spsjvc
  • gzeon
  • hkalodner