1.0.1 • Published 3 years ago

@hackney/prettier-config v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@hackney/prettier-config

A configuration for prettier, to create consistancy across Hackney projects.

Usage

Install package as a dev dependency:

npm install --save-dev @hackney/prettier-config
// or
yarn add -D @hackney/prettier-config

Create a .prettierrc.js file in the root of your project.

const prettierConfig = require("@hackney/prettier-config");

module.exports = prettierConfig;

To apply overrides of any of the options:

const prettierConfig = require("@hackney/prettier-config");

module.exports = {
  ...prettierConfig,
  semi: false,
};
1.0.1

3 years ago

1.0.0

3 years ago