Joseph Frazier
f82b574fd4
Return early from `massageAST()` ( #3522 )
...
This reduces nesting and handles the edge cases first.
This commit is best viewed ignoring whitespace differences:
git show -w
2017-12-18 12:33:53 -05:00
Anatolie Rotaru
d4101169e5
Fix PostCSS VS Code integration ( #3454 )
2017-12-19 00:05:39 +11:00
Jed Fox
7d9f71d488
Add `root: true` to .eslintrc.yml ( #3519 )
2017-12-18 23:46:28 +11:00
Lucas Azzola
ed80d6c5bd
Make all CLI logging go through a logger ( #3515 )
...
* Make all CLI logging go through a logger
* Add --loglevel docs
* Change default loglevel to log
* Update snapshots
* Switch to YAML eslint files
2017-12-18 23:22:07 +11:00
Lucas Azzola
d1c97b3622
Convert eslint config and users/languages/editors files to YAML ( #3516 )
...
* YAML all the things
* Cleanup website data files
* Update edit links
2017-12-18 21:55:10 +11:00
Adam
56948a953e
Add Troops to Users ( #3505 )
2017-12-18 09:48:30 +08:00
Lucas Azzola
5e81e75601
Add plugin:prettier/recommended ( #3508 )
...
* Add plugin:prettier/recommended
* Revert eslint-plugin-prettier docs changes
2017-12-18 08:39:31 +11:00
Lucas Azzola
8be1fbb58a
Switch to light logo in README ( #3507 )
2017-12-18 00:24:19 +11:00
Joseph Frazier
c338fdd565
Revert "Set travis dist to "precise"" ( #3510 )
...
This reverts commit 675688c814
.
See the following for context:
* https://github.com/prettier/prettier/pull/3349#issuecomment-350617020
* https://github.com/travis-ci/travis-ci/issues/7566#issuecomment-351514693
2017-12-18 00:06:49 +11:00
Praveen Durairaj
f1680c3f22
Add hasura to list of users ( #3504 )
2017-12-16 15:56:54 +11:00
Georgii Dolzhykov
5c6b93a654
Add "JSON with comments" to vscodeLanguageIds ( #3496 )
2017-12-16 11:45:51 +11:00
Matt Mulder
b778df4fc2
Add Yelp to list of users ( #3502 )
2017-12-15 19:09:15 -02:00
Tom Bonnike
23ffddf94a
Added N26 to the list of users ( #3499 )
2017-12-16 00:02:35 +08:00
Anton Vasin
67a51c1da6
Update mathrioshka url to https ( #3498 )
2017-12-15 22:46:22 +11:00
Lucas Duailibe
4d23e9081d
Print flow type annotation comments as comments ( #3449 )
2017-12-15 05:11:48 -02:00
Kushagra Gour
57e821a28c
add wingify to user list ( #3497 )
2017-12-15 03:12:22 -02:00
Anton Vasin
7f55cc5872
Add Mathrioshka to users ( #3495 )
2017-12-15 09:11:57 +08:00
Martin Irigaray
f38c51269a
IDEATI uses prettier ( #3490 )
2017-12-14 15:26:10 -02:00
Daniel Tschinder
1ba144b617
chore(docs): Add webstorm setup with eslint integration ( #3489 )
2017-12-14 23:19:54 +11:00
Hemratna Bhimani
9157968159
Adding 7span.com to user.json ( #3486 )
...
At 7Span we user Prettier in our day to day workflow.
2017-12-14 20:51:40 +11:00
Hemratna Bhimani
f8f18487d2
Adding 7Span logo. ( #3487 )
2017-12-14 20:51:12 +11:00
Christian Rackerseder
7b6f3eaeea
Added HolidayCheck to website ☀️ ( #3488 )
2017-12-14 20:43:51 +11:00
Mae Capozzi
f804002579
Update grammar in the README.md ( #3485 )
2017-12-14 17:49:42 +11:00
Charles Pick
d691c8d395
Add codemix to users ( #3482 )
2017-12-14 17:47:44 +11:00
James Henry
5feb76f13f
Update tsep to v11 and update snapshot ( #3471 )
...
* Update tsep to v11 and update snapshot
* Remove unneeded TSNamespaceFunctionDeclaration
2017-12-14 17:44:59 +11:00
Nick Arnold
d6db35c16b
docs: update babylon project url ( #3484 )
2017-12-14 14:23:53 +11:00
James Henry
8f9798e792
Website: Add Nrwl to users ( #3483 )
...
* Update users.json
* Add nrwl logo
2017-12-14 10:47:25 +11:00
Emmanuel Vuigner
2816c45771
Add ZIP.ch to users.json ( #3480 )
2017-12-13 15:01:41 -02:00
Sorin Iclanzan
9d8429d420
Add Webflow to users ( #3477 )
2017-12-13 15:00:56 -02:00
Viktor Hubert
6cfa092979
Added Eventstag to users.json ( #3478 )
2017-12-13 12:51:34 -02:00
Fernando Montoya
00bc23ba5a
Add Eye Square to users ( #3476 )
2017-12-13 12:19:28 -02:00
Daniel Schmidt
01aa9cedf6
Add Charlie Tango to users.json ( #3473 )
2017-12-13 12:01:05 -02:00
Christian Oliff
578156c218
Update VS Code extension name ( #3475 )
2017-12-13 11:35:20 -02:00
Greg Bergé
dfc61d940d
Add Smooth Code to users ( #3474 )
2017-12-13 11:22:29 -02:00
Thomas Broadley
44bad41b3e
Fix typo ( #3467 )
2017-12-13 01:44:49 -02:00
James Leftley
46ecf3ffbb
Update ESLint docs code formatting for consistency ( #3466 )
2017-12-13 00:57:21 -02:00
Lucas Duailibe
4090bd6303
Update prettier's prettier to 1.9.2
2017-12-12 01:55:44 -02:00
Lucas Duailibe
7c83ac782e
Regression test for #1473
2017-12-12 01:30:20 -02:00
Lucas Duailibe
694f9c8588
Print comment after arrow function params ( #3444 )
2017-12-12 01:26:41 -02:00
James Henry
dc91108453
Update tsep and apply breaking changes ( #3455 )
2017-12-12 01:20:54 -02:00
Lucas Duailibe
76c5d91ce6
1.9.2
2017-12-12 01:15:12 -02:00
Roger Sheen
5065608f73
Docs: Add info on ignore file to "Ignoring Code" ( #3458 )
...
* docs(ignore): mention ignore file in Ignoring Code
While working on #3321 , I needed to ignore an entire file, but the "Ignoring Code" section of the docs only describes how to ignore blocks of code, so I wasn't aware of the default ignore file.
(The `.prettierignore` file is mentioned in the CLI section, but easily overlooked there.)
This commit extends the introduction sentence of the "Ignoring Code" section and adds a new subsection to explain how to ignore files.
https://github.com/prettier/prettier/issues/3321#issuecomment-350072566
* docs(cli): fix nesting error in heading hierarchy
The `--ignore-path` option currently appears as a third-level subsection of `--find-config-path` and `--config`, but this looks like an error.
This commit promotes the `--ignore-path` heading to the same (H2) level as the other CLI options.
2017-12-11 22:23:06 -02:00
Lucas Duailibe
d00d09bb87
Don't break single argument destructuring arguments ( #3443 )
2017-12-10 12:29:09 -02:00
Brian Ng
38c8286907
Fix closing parens on multi-line intersection/union type ( #3436 )
2017-12-10 22:32:17 +11:00
Lucas Duailibe
3fa2229a62
Fix printing union types inside a function param type ( #3446 )
...
* Fix printing union types inside a function param type
* fix alignment
2017-12-10 20:22:13 +11:00
Lucas Duailibe
dbf22eb41a
Fix printing separator in objects with prettier-ignore ( #3448 )
2017-12-10 02:57:42 -02:00
Lucas Duailibe
69f05e42c9
Consider TSNonNullExpression part of member chain ( #3442 )
2017-12-10 02:41:53 -02:00
Lucas Duailibe
c9079926c9
Improve visibility of lint-staged usage warning ( #3445 )
2017-12-10 00:09:07 -02:00
Lucas Duailibe
934e4d3027
Fix babylon misplacing comments ( #3441 )
...
* Fix comments in class method args
* Fix comments in obj property
2017-12-09 15:43:19 -02:00
Joseph Frazier
4f24892e53
Treat absent .editorconfig correctly ( #3439 )
...
This fixes https://github.com/prettier/prettier/issues/3432 , I think.
2017-12-08 09:03:49 +11:00