Formats with Prettier and lints with ESLint+Standard! (✿◠‿◠)
--stdin-filepath
flag that can be used for editor integration https://github.com/sheerun/prettier-standard/pull/92
prettier-standard
by default will format all files in repository, if no patterns are presentprettier-standard --staged
for formatting just staged changes--chaged
flag that allows to format just changed lines (requires git)--since <branch>
flag that allows to format just changes since given branch (requires git)Also, --changed
can be combined with --since <branch>
and --check
💛
This release is complete rewrite which avoids spawning external processes, it should be faster now! 🥂
--check
flag has been introduced that behaves similarly to prettier --checkFix formatting files other than .js
when passed as paths instead of stdin
Add support for --parser
flag that allows to format files other than .js
when passed to stdin
This release does not pass code through standard --fix
to fix formatting, it uses prettierx
instead.
Breaking changes:
.prettierrc
instead of .eslintrc
prettier
and prettier/standard
in .eslintrc