npm.io
0.5.0 • Published 4 months ago

prettier-ignore

Licence
MIT
Version
0.5.0
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
41

prettier-ignore

Usage

Install it.

npm i prettier-ignore -D

Use it via Prettier by passing --ignore-path option.

npx prettier --ignore-path ./node_modules/prettier-ignore/prettierignore .

Why

Prettier will not ignore some common files which should be ignored, like pnpm-lock.yaml file and dist folder, according to their issues. This package provide some commonly patterns which should be ignored by Prettier.

License

MIT

Keywords