1.1.0 • Published 10 months ago

@antisoda/prettier-config v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@antisoda/prettier-config

Shareable Prettier configuration with opinionated formatting preferences.

Usage

npm install --save-dev @antisoda/prettier-config prettier

Add a reference to this configuration in your package.json file to set it up:

+  "prettier": "@antisoda/prettier-config",

If you want to add more plugins, or extend the configuration, you will need to extend a JavaScript configuration file, rather than the prettier field in package.json:

/** @see https://prettier.io/docs/en/configuration.html */

import preset from '@antisoda/prettier-config'

export default {
  ...preset,
  // override or extend
}