Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com> Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
462 B
462 B
Added --ignore-unknown(alias -u) flag (#8829 by @fisker)
# Prettier stable
npx prettier * --check
Checking formatting...
foo.unknown[error] No parser could be inferred for file: foo.unknown
All matched files use Prettier code style!
# Prettier master
npx prettier * --check --ignore-unknown
Checking formatting...
All matched files use Prettier code style!