Commit Graph

210 Commits (master)

Author SHA1 Message Date
Erick Romero 24f9cc3a71 Vim readme (#1058)
* Moved Vim info to its own editor folder, started drafting new README

* Finished first draft, ready for PR

* Testing Readme layout

* Removed vim folder
2017-03-20 22:12:10 -07:00
Adam Stankiewicz 60b6d6fc56 Mention prettier-standard package (#1010) 2017-03-16 10:33:23 -07:00
Bill Mill f5ede513eb update the README to add a pre-commit hook (#944)
* update the README to add a pre-commit hook

* remove comments

* better wording

* better quoting

* consistent prettier binary

* move the tr and fix the quoting

* fix quotes one last time
2017-03-07 19:55:43 -08:00
Patrick Camacho 513b57db3a Update README.md (#928)
typo fix
2017-03-07 11:38:58 -08:00
Andrey Okonetchnikov 3045829a61 Update lint-staged docs to use husky for less config. (#923) 2017-03-07 09:53:00 -08:00
Simon Lydell 25bbe1accb Improve readme CLI usage example (#910)
- Use double quotes for cmd.exe support. See #761.
- Remove redundant example and merge it into the previous.
2017-03-06 03:45:16 -08:00
Jed Watson 74b6466ee7 Add CLI Example to Readme (#909)
Simple change to add a real world example of CLI usage, because it wasn't immediately obvious to me how it should actually look
2017-03-05 21:51:51 -08:00
David Ascher c8c91d4af3 Fix typo (#891)
I believe that the instructions for pre-commit config are off by a character.
2017-03-04 11:47:35 -08:00
Christopher Chedeau a91bb5f2ec Fix travis build image 2017-03-02 19:20:45 -08:00
Simon Lydell 25340671d3 Update list of related projects (#833) 2017-02-28 09:24:08 -08:00
Spencer Dixon a59e2c652f Adds another preset to related projects (#820) 2017-02-27 16:50:38 -05:00
Christopher Chedeau 9a447c05ec Correct link for travis 2017-02-24 15:56:13 -08:00
Umidbek Karimov 278b489f38 Use double quotes in script wildcards to support windows `cmd.exe`. (#761) 2017-02-21 07:49:07 -08:00
James Long 77f6f4de68 Add note about trailingComma option in versions 0.18.0 and below 2017-02-20 09:33:22 -05:00
James Long 9399c1b656 Update README with valid trailingComma options 2017-02-18 08:58:34 -05:00
Vincent Voyer 417279cacd docs(README): use yarn add for consistency (#734)
Other places we say we default to yarn but then we use npm, was confusing a bit.
2017-02-17 11:10:07 -08:00
Andrey Okonetchnikov 291871df53 docs: Add pre-commit hook with 🚫💩 lint-staged section to the README (#714) 2017-02-15 20:52:03 -05:00
Tom McKearney 0e399f0414 [Docs]: update Readme to reference VS extension (#720)
Added a link to Mads Kristensen's new VS extension for prettier
2017-02-15 20:51:34 -05:00
Christopher Chedeau 4dca78dbed Add option for putting > on the last line in jsx (#661)
Feel free to suggest a better name for the option. Otherwise it works great :)

Fixes #654
2017-02-13 12:57:05 -05:00
James Long 2ff937acdd Fix formatting in readme 2017-02-07 10:42:54 -05:00
James Long a3a6834a05 Expand vim instructions 2017-02-07 10:42:18 -05:00
Amjad Masad 3155acba6e Update `bracketSpacing` comment to say it's about {} (#529)
Before e13bb7dbba `bracketSpacing` used to be about both `[]` and `{}` but now it's only about `{}`.
2017-01-31 06:54:31 -08:00
Simon Lydell 94afacd2eb Mention eslint-config-prettier (#516) 2017-01-30 10:22:49 -05:00
Umidbek Karimov 8d786e5352 Add documentation for JetBrains products. (#509)
* Add documentation for JetBrains products.

* Fix typos in `jetbrains/README.md`

* Remove examples with `npm run` and `yarn`
2017-01-30 10:06:35 -05:00
MarekMatejkaKCL 56f27a8ccf Adding a 4th arg to foo function for consistency (#499)
When reading the Readme file I noticed that the first `foo` method has only 3 args but every other `foo` method has 4. Therefore, I am adding a 4th arg to the first `foo` method for consistency.
2017-01-27 18:49:23 -08:00
Simon Lydell 1d356651a3 Mention eslint-plugin-prettier in Related Projects (#490) 2017-01-26 15:06:49 -08:00
Kent C. Dodds f8853ba856 docs: add related projects (#456)
* docs: add related projects

I think it may help adoption of `prettier` if
people don't have to change their entire coding
style all at once. These projects enable that.

* docs: add prettier-with-tabs to related projects
2017-01-25 16:33:38 -05:00
Henry Zhu d08c006902 Explain that you can pass options to the spec runner (#460) 2017-01-25 09:30:48 -08:00
Simon Lydell 6b3d3bc066 Add glob support to the CLI (#363)
* Add glob support to the CLI

Fixes #145. Fixes #362.

* Update README.md regarding globs

* Use exact dependency for glob
2017-01-23 10:37:57 -05:00
Riley Tomasek 515379435c Improve vim integration section (#416) 2017-01-23 10:27:52 -05:00
Christopher Chedeau d8d5c7bc55 Introduce --parser/parser option and deprecate --flow-parser/useFlowParser (#342)
The previous API was inconsistent. The new one is

```js
--parser flow
--parser babylon

{parser: 'flow'}
{parser: 'babylon'}
```

if we ever want to add new parsers in the future it'll allow that more easily.

I put a console.log in parser.js in both functions and tested that the test suite worked both with and without the change in run_spec. I also tested that both the previous and new command line options are working.

At some point in the future we'll likely want to get rid of the old api but might as well keep supporting it so we don't break anyone for now.
2017-01-19 14:35:12 -08:00
Jon LaBelle bb9d288dbb Add canonical link to Prettier SublimeText package. (#318) 2017-01-19 10:17:23 -05:00
James Long 2ff1ba8494 Consolidate badges in readme 2017-01-16 10:08:06 -05:00
Henry Zhu 4343488c83 Add npm version badge (#240) 2017-01-16 10:06:47 -05:00
James Long 7f80d8dbff Add note about Sublime Test github issue in readme 2017-01-14 23:21:58 -05:00
Alex Stachowiak c9c560bfef Fix typo in README. 2017-01-11 12:48:07 -08:00
Esben Petersen a673fc4e62 add instructions for Visual Studio plugin 2017-01-11 18:09:15 +01:00
Mateusz Zatorski 57a73b8620 add gitter badge to readme 2017-01-11 17:01:02 +00:00
Mateusz Zatorski 884bae1761 remove node 0.10 from travis config, add travis badge to readme 2017-01-11 16:48:45 +00:00
James Long faed09ceea Merge pull request #111 from knowbody/add-travis
add travis config and add yarn support
2017-01-11 11:36:16 -05:00
Mateusz Zatorski 6f0743e07d fix italic in readme 2017-01-11 16:31:42 +00:00
Mateusz Zatorski 1fe0833662 add yarn.lock and tests to .npmignore and add yarn instructions to README 2017-01-11 16:30:46 +00:00
James Long ac6cb883c8 Merge pull request #113 from fortes/master
Enable reading from stdin
2017-01-11 11:29:50 -05:00
Damien Lebrun f1db144341 docs: add globbing example
Although prettier lacks options to filter project files to format by itself, most shells allow to submit multiple files with a filename expansion. Add an example using bash.
2017-01-11 16:05:31 +00:00
Filipe Fortes 9ffbd32723 Enable reading from stdin 2017-01-11 07:57:16 -08:00
Thai Pangsakulyanont 8fb6428e96 Add missing comma in API example 2017-01-11 17:31:59 +07:00
azu e75f79a755 Add syntax highlight to example in README 2017-01-11 09:26:35 +09:00
James Long 9a781cbcff Tweak warning in readme 2017-01-10 12:09:06 -05:00
James Long 0ba4d71c5c Add link to blog post 2017-01-10 10:33:54 -05:00
James Long 14f8161c32 Add language support to readme 2017-01-10 09:06:50 -05:00
James Long 50f898dc4a Acknowledge refmt 2017-01-10 01:02:39 -05:00
James Long 92b3ecfd6b Final readme tweaks 2017-01-10 01:00:02 -05:00
James Long 47c9b50f48 More docs 2017-01-10 00:52:52 -05:00
James Long 612e3411cb Move atom package out and start new readme 2017-01-10 00:45:11 -05:00
James Long 7639b755c2 More renaming of jscodefmt -> prettier 2017-01-09 22:48:56 -05:00
Benjamin Tan ec1f9269d2 Improve readme. 2017-01-08 19:54:54 +08:00
James Long d5b07f5c3d Fix readme 2016-12-23 13:40:43 -05:00
James Long 9b4535e9f8 Merge in forked recast printer that uses Wadler's algorithm 2016-12-23 13:38:10 -05:00
James Long 35d8546d27 Add Atom support 2016-11-30 10:05:38 -05:00
James Long 49316b18cc Add readme 2016-11-29 12:26:03 -05:00