长天之云
df5482008e
fix(prettierignore): support absolute filename ( #2783 )
2017-09-10 18:21:56 +02:00
Mitermayer Reis
c59a82cbae
Add CLI option '--config-precedence' ( #2733 )
...
Add CLI option '--config-precedence'
2017-09-05 08:56:23 +10:00
ikatyang
ca7be87f9e
test: remove unnecessary `eslint-disable`
2017-09-03 22:06:55 +08:00
ikatyang
ac9fa43114
test(integration): add more tests
2017-09-03 21:31:33 +08:00
Simon Lydell
7c9e589323
Fix CLI option parsing ( #2684 )
...
Fixes #2683
2017-08-29 08:16:04 +02:00
Evilebot Tnawi
469059dc20
CLI: Support .ignore files ( #2412 )
...
Closes #2294
2017-07-11 23:33:46 +10:00
Lucas Azzola
dcccfed366
Implement cosmiconfig for workspace configuration ( #2434 )
...
* Implement cosmiconfig
* Add resolveOptions API and extname support
* Add --resolve-config and --config, rename resolveOptions to resolveConfig
* Move color to top-level CLI options
* Fix unknown param warning
* Change from {} to null when no config is found
* Change override API to emulate eslint
* Add test for eslint-style overrides
* Delete overrides from resolveConfig
2017-07-10 22:26:36 +10:00
Evilebot Tnawi
a0cadad222
feat(cli): support multiple patterns with ignore pattern ( #2356 )
2017-07-04 17:55:06 +02:00
Philipp Spieß
d679f235ed
Also infer parser when using `--list-different` ( #1997 )
...
* Also infer parser when using `--list-different`
* Add integration tests for parser inference
2017-06-06 08:24:56 -07:00
Joseph Frazier
f6dabc0d27
Add regression test for CLI shebang preservation ( #1901 )
...
Following up on https://github.com/prettier/prettier/pull/1899
2017-06-02 13:42:44 -07:00
Michał Pierzchała
7a0df958dc
Ignore node_modules when running prettier from CLI ( #1683 )
...
* Ignore node_modules by default
* Add integration test suite for --with-node-modules CLI arg
* Refactor tests to snapshots
* Disable eslint for purposely faulty files
* Fix node 4
* Fix prettier
* Gitignore only top-level node_modules
2017-05-23 14:19:04 -07:00