The Prettier config that we use internally.
- Add dependencies:
yarn add --dev prettier prettier-config-aux
- Create
prettier.config.js
in./
:
module.exports = require('prettier-config-aux');
- Clone the project:
git clone https://github.com/AuxStudio/prettier-config-aux
- Do some work.
- Create a PR.
- Login to npm
npm login
- Run the publish script.
npm publish