0.0.6 • Published 2 months ago

@ideasonpurpose/prettier-config v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

IOP's Prettier Config

Version 0.0.6

NPM Version GitHub Actions Workflow Status

Shared Prettier config for projects at Ideas On Purpose. Using this reduces redundant code in package.json and keeps coding preferences in sync across projects.

How to use

Install this package:

npm install --save-dev @ideasonpurpose/prettier-config

Then add this prettier key to the project's package.json file:

  "prettier": "@ideasonpurpose/prettier-config",

Settings

Some of the settings included in this file:

HTML

  • printWidth: 120
  • tabWidth: 2

PHP

  • printWidth: 100
  • singleQuote: true
  • tabWidth: 4,
  • trailingCommaPHP: true

Our PHP projects include the prettier-php plugin.

Markdown

  • Options.embeddedLanguageFormatting: off

Related Projects

 

Brought to you by IOP

This project is actively developed and used in production at Ideas On Purpose.

0.0.6

2 months ago

0.0.5

2 months ago

0.0.4

9 months ago

0.0.1

9 months ago