@lego/prettier-config
TypeScript icon, indicating that this package has built-in type declarations

6.1.2 • Public • Published

@lego/prettier-config

Opinionated Prettier configuration.

Usage

To install this config use the following command

$ npm i -D @lego/prettier-config

Then add below line as prettier.config.js or .prettierrc.js to the project:

module.exports = require('@lego/prettier-config');

or if you want to extend it with your own rules

module.exports = {
  ...require('@lego/prettier-config'),
  singleQuote: false,
};

/@lego/prettier-config/

    Package Sidebar

    Install

    npm i @lego/prettier-config

    Weekly Downloads

    199

    Version

    6.1.2

    License

    MIT

    Unpacked Size

    26.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • mbogh
    • xshteff
    • vincentbriglia
    • giovannidegani