Wei-Wei Wu
91c20f7fbe
Rename "babylon" with "babel" ( #5647 )
2018-12-27 21:05:19 +08:00
Lucas Duailibe
5c6e0802af
Don't default parser to babylon ( #4528 )
...
* Don't default parser to babylon
* Different default values according to version
* Fix error logging
* Add tests specifically for parser inference
* Add another test case
* Add API test
2018-05-23 16:55:06 -03:00
Ika
76ee59a191
chore(deps): update prettier to 1.8.0 ( #3167 )
...
* chore(deps): update prettier to 1.8.0
* refactor: fix linting
2017-11-07 16:42:38 +08:00
Lucas Azzola
71a5533c4e
Move all docs to website ( #3139 )
...
* Sync README -> docs/options.md
* Sync README -> docs/*.md
* Misc fixups
* Remove markdown-toc
* Remove insert-pragma from ToC
* Never again!
* Move all docs to ./docs
* Remove yarn toc
* Fix inter-doc links
* Fix links in footer
* Clean up README.md
* Add basic description to README.md
* Use flat badges
* Move editor guides to website
* Improve prettier-ignore docs
* Fixup bad find/replace
* Add JSON to README
* Fix custom parser API link
* Fixup GitHub centering, add downloads badge
* Add 1.8 docs
* docs(website): mention markdown on homepage (#1 )
* Add intro
* Add watching-files.md
* Fix markdown syntax highlighting
* Switch back to .md links
2017-11-07 14:39:07 +11:00
Ika
7770356a51
test(integration): update title and catch all outputs ( #2951 )
2017-10-02 18:08:34 +02:00
Ika
c4e5463514
refactor(cli): separate files and make it pure as possible ( #2730 )
...
* refactor(bin): resolveConfig
* refactor(bin): getOptionsForFile
* refactor(bin): remove `mapSeries`
* refactor: move content from bin to src/cli
* refactor: wrap content with function
* refactor: move constants to another file
* refactor: move utils to another file
* refactor: move functions
* refactor: extract functions
* refactor: remove unnecessary variable
* refactor: move `src/cli` to `src` with prefix `cli`
* refactor: use template literal
* refactor: remove unnecessary variable
* refactor: extract `listDifferent`
* refactor: extract `format`
* refactor: change error message `Invalid configuration:`
* refactor: bind args with argv
* refactor: extract `getOptionsForFile`
* refactor: extract `formatStdin`
* refactor: extract `eachFilename`
* refactor: extract `formatFiles`
* refactor: remove unnecessary export
* refactor: use `globby.sync()`
* refactor: add `runPrettier.sync()` helper
* refactor: fix linting
* refactor: mock `process.argv`
* chore: use `--forceExit` to avoid process hanging
* refactor: mock `get-stream`
* refactor: remove unnecessary stuff
* refactor: fix linting
* refactor: wrap `run` with `try..catch.finally`
* refactor: restore `process.exitCode` after testing
2017-09-03 19:21:06 +10:00
Evilebot Tnawi
a0cadad222
feat(cli): support multiple patterns with ignore pattern ( #2356 )
2017-07-04 17:55:06 +02:00