4.0.1 • Published 11 months ago

@vic1707/prettier v4.0.1

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

Prettier config

to use this package install it with

npm install --save-dev @vic1707/prettier prettier

and add this line to your package.json

"prettier": "@vic1707/prettier"

You will also need a .prettierignore file to exclude files from being formatted

**/package.json
**/package-lock.json
**/coverage
**/dist
**/node_modules

The package.json, package-lock.json, yarn.lock etc... files are excluded because the package manager reformats them on install/update and their rules are different from prettier's.

Here are the scripts I use to lint my code:

{
	"format": "prettier -c .",
	"format:fix": "prettier -w ."
}

Original repo can be found here: https://github.com/vic1707/devconfig

3.0.2

11 months ago

4.0.1

11 months ago

4.0.0

11 months ago

3.0.1

12 months ago

3.0.0

1 year ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago