/prettier-config

Shareable config for the Prettier formatter

Primary LanguageJavaScript

prettier-config-cristianl

Changes to default config

  • No semicolons
  • Use single quotes

Usage

Add to package.json:

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

If you must override this config for a project, do not add that line to package.json. Instead, create a prettier.config.js file:

module.exports = {
  ...require('@cristianl/prettier-config'),
  // custom properties below
}