Nonchalantly Perusing Magazines
Wondering what’s next for npm?Check out our public roadmap! »

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

3.0.0 • 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,
};

Keywords

Install

npm i @lego/prettier-config

DownloadsWeekly Downloads

467

Version

3.0.0

License

MIT

Unpacked Size

9.75 kB

Total Files

9

Last publish

Collaborators

  • avatar
  • avatar