@chanzuckerberg/prettier-config-edu
v1.0.5
Published
Shared [Prettier](https://prettier.io) config for CZI's Education initiative.
Downloads
30
Readme
@chanzuckerberg/prettier-config-edu
Shared Prettier config for CZI's Education initiative.
Prerequisites
- Install Prettier
- Integrate with ESLint via eslint-config-prettier
- Run Prettier on CI (e.g.
prettier --check .
) - Consider running Prettier in a precommit hook and/or in your editor(s)
Installation
Install by running
yarn add --dev @chanzuckerberg/prettier-config-edu
Usage
Import the prettier config from this package and use it in your Prettier config file. Usually this is prettier.config.js
.
// prettier.config.js
module.exports = require('@chanzuckerberg/prettier-config-edu');