@phts/prettier-config

1.2.0 • Public • Published

@phts/prettier-config

npm

My Prettier config. Works best with @phts/eslint-config.

Install

$ npm i -D @phts/prettier-config

To able to support @phts/eslint-config additionally install prettier-eslint-cli globally:

$ npm i -g prettier-eslint-cli

Usage

.prettierrc.json:

"@phts/prettier-config"

Sublime Text integration

Install JsPrettier package and put this into JsPrettier.sublime-settings:

{
  "auto_format_on_save": true,
  "auto_format_on_save_excludes": ["*/node_modules/*"],
  "auto_format_on_save_requires_prettier_config": true,
  "prettier_cli_path": "./node_modules/.bin/prettier"
}

Package Sidebar

Install

npm i @phts/prettier-config

Weekly Downloads

2

Version

1.2.0

License

ISC

Unpacked Size

1.66 kB

Total Files

3

Last publish

Collaborators

  • phts