@hackney/prettier-config

1.0.1 • Public • Published

@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,
};

/@hackney/prettier-config/

    Package Sidebar

    Install

    npm i @hackney/prettier-config

    Weekly Downloads

    71

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    1.65 kB

    Total Files

    4

    Last publish

    Collaborators

    • humulla
    • lbhcallumm
    • mpederiva
    • makeyw
    • selwyn.preston
    • lbhtkarki