Prettier config for the Carbon Design System
npm install prettier-config-carbon> Prettier config for the Carbon Design System
To install prettier-config-carbon in your project, you will need to run the
following command using npm:
``bash`
npm install -S prettier-config-carbon
If you prefer Yarn, use the following command
instead:
`bash`
yarn add prettier-config-carbon
You can use this prettier configuration by creating a prettier.config.js file
in the root of project and using this package in the following way:
`js
'use strict';
const prettierConfig = require('prettier-config-carbon');
module.exports = prettierConfig;
``
We're always looking for contributors to help us fix bugs, build new features,
or help us improve the project documentation. If you're interested, definitely
check out our Contributing Guide! 👀
Licensed under the Apache 2.0 License.