1.2.0 • Published 1 year ago

@phts/prettier-config v1.2.0

Weekly downloads
8
License
ISC
Repository
github
Last release
1 year ago

@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"
}
1.2.0

1 year ago

1.1.1

3 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago