@fxone/prettier-config
v2.0.0
Published
prettier config
Readme
prettier config
This is a configuration for prettier
Installation
First, install the package:
$ npm install @fxone/prettier-config -D
# or
$ pnpm add @fxone/prettier-config -D
# or
$ yarn add @fxone/prettier-config -DImportant: You must also install prettier as a peer dependency:
$ npm install prettier -D
# or
$ pnpm add prettier -D
# or
$ yarn add prettier -DAlternatively, use npx install-peerdeps to automatically install peer dependencies:
$ npx install-peerdeps @fxone/prettier-config --devUsage
Create a .prettierrc.js file with the following content:
module.exports = {
...require('@fxone/prettier-config'),
//add overwrites here
};