@concepta/prettier-config
v1.1.5
Published
Rockets Prettier Node.JS opinions
Downloads
259
Readme
@concepta/prettier-config
Rockets Prettier opinions
Installation
You'll first need to install Prettier:
npm i prettier --save-dev
Next, install @concepta/prettier-config
:
npm install @concepta/prettier-config --save-dev
Usage
Add this to your .prettierrc.js
configuration file:
Node
module.exports = {
...require('@concepta/prettier-config/node'),
};
React
module.exports = {
...require('@concepta/prettier-config/react'),
};