@fastcms/prettier-config

Shared @prettier config for projects of @fastcms

Usage no npm install needed!

<script type="module">
  import fastcmsPrettierConfig from 'https://cdn.skypack.dev/@fastcms/prettier-config';
</script>

README

@easynm/prettier-config

Peer Prettier Version

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