1.0.8 • Published 1 year ago

prettier-config-nick v1.0.8

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

prettier-config-nick

My opinionated yet practical Prettier config for modern JavaScript

Rationale

Here's what I've changed from Prettier's config and why. Most of the defaults are already pretty good, so check out the Prettier docs for more information.

"semi": false

Getting rid of semicolons makes it easier to read, write, and reorder (see prettier#13317) lines of code

Defaults

Prettier 3 already uses these defaults, but we set them explicitly so you can use older versions consistently

  • "trailingComma": "all"
  • "arrowParens": "always"
  • "endOfLine": "lf"

Installation

npm install --save-dev prettier prettier-config-nick
yarn add --dev prettier prettier-config-nick
pnpm add --save-dev prettier prettier-config-nick

Usage

package.json

"prettier": "prettier-config-nick"

Other Prettier config

"prettier-config-nick"
1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago