@ideasonpurpose/prettier-config
v1.0.0
Published
Common Prettier config for projects at Ideas On Purpose
Downloads
5
Readme
IOP's Prettier Config
Version 1.0.0
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
- WordPress Build Tools
- Prettier Config
- Stylelint Config
- Docker-based Development Environment for WordPress
Brought to you by IOP
This project is actively developed and used in production at Ideas On Purpose.