@fastcms/prettier-config
v4.0.0
Published
Shared @prettier config for projects of @fastcms
Downloads
12
Maintainers
Readme
@easynm/prettier-config
Shared @prettier config for projects of @fastcms
Installation
Use npx to install peerdeps automatically or install peerDependencies and optionalDependencies with npm/yarn manually.
# Install using npm
$ npm info "@fastcms/prettier-config" peerDependencies optionalDependencies
$ npx install-peerdeps --dev @fastcms/prettier-config
# Install using yarn
$ yarn add --dev @fastcms/prettier-config prettier prettier-plugin-packagejson prettier-plugin-prisma
Usage
After installation, add prettier
entry to package.json
file.
{
"prettier": "@fastcms/prettier-config"
}
Or create a prettier config file prettier.config.js
to the project root.
module.exports = require('@fastcms/prettier-config');
License
The codebase and documentation in this repository are released under the MIT License