prettier-ignore
v0.1.4
Published
Commonly ignore patterns for Prettier
Downloads
265
Readme
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 should-be-ignored patterns for Prettier.
License
MIT