This package contains shareable Prettier configuration used by the applications created with @shaizei/cli.
Using Yarn:
yarn add @shaizei/prettier-config --dev
Using npm:
npm install @shaizei/prettier-config --save-dev
Note that apps created with @shaizei/cli already does the job for you and the following guidelines holds true for any custom usage of this plugin.
Create a new file called prettier.config.js
and paste following code in it:
module.exports = require('@shaizei/prettier-config');
In order to have .prettierrc
file, just run the following command:
cat ./node_modules/@shaizei/prettier-config/.prettierignore >> .prettierignore
Please check CONTRIBUTING.md for more information on how to contribute.
This software (@shaizei/prettier-config
) is open source and licensed as MIT. Please check LICENSE.md for more information about license.