@maxxxxxdlp/prettier-config

1.0.4 • Public • Published

Prettier Configuration

A mostly-default prettier configuration with additional plugins for formatting package.json, .xml, shell files and Firebase Realtime Database Rules

Usage

Add this to your package.json:

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

Alternatively, if you want to overwrite some options, you can add this repository as a devDependency:

{
  "devDependencies": {
    "@maxxxxxdlp/prettier-config": "^1.0.0"
  }
}

Then, create a .prettierrc.js file at the root of your project:

module.exports = {
  ...require('@maxxxxxdlp/prettier-config'),
  // your overwrites go here
};

More information about reusing and extending configs

Package Sidebar

Install

npm i @maxxxxxdlp/prettier-config

Weekly Downloads

111

Version

1.0.4

License

MIT

Unpacked Size

3.09 kB

Total Files

4

Last publish

Collaborators

  • maxxxxxdlp