@ferfalk/prettier-config

1.1.0 • Public • Published

@ferfalk/prettier-config

Shared Prettier configuration.

Installation

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

Usage

Add the prettier property on package.json:

{
  "prettier": "@ferfalk/prettier-config"
}

Or

Create a .prettierrc file with a string:

"@ferfalk/prettier-config"

Or

To extend the configuration, create a .prettierrc.js file:

import config from '@ferfalk/prettier-config';

export default {
  ...config,
  singleQuote: false,
};

License

MIT

Package Sidebar

Install

npm i @ferfalk/prettier-config

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

3.39 kB

Total Files

4

Last publish

Collaborators

  • ferfalk