1.0.2 • Published 2 years ago

@arsams/prettierrc v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@arsams/prettierrc

Exports the following configuration

{
  "semi": false,
  "singleQuote": true,
  "tabWidth": 2,
  "trailingComma": "none",
  "printWidth": 120,
  "tabs": false,
  "quoteProps": "as-needed",
  "bracketSpacing": true,
  "bracketSameLine": true,
  "arrowParens": "always",
  "endOfLine": "lf",
  "singleAttributePerLine": false
}

How to:

  1. Install
  $ yarn add --dev @arsams/prettierrc
  1. Add to .prettierrc.js
const config = require("@arsams/prettierrc");

module.exports = {
  ...config,
  // Your own rules or overrides
};