Commit Graph
226 Commits
Author SHA1 Message Date
fisker Cheung 64e7dab1fd Fix links to Prettier/Babel/Jest website (#17079) 2025-02-15 12:18:09 +08:00
fisker Cheung 3d07f7692c Update links to website in README.md (#17068) 2025-02-08 11:11:55 +08:00
fisker Cheung ea93014f7b Update twitter badge (#15593) 2023-11-04 23:59:03 +08:00
Shreyas0410andfisker Cheung e7c4b58e6c docs: fixed and updated twitter logo (#15576)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-11-03 20:24:33 +08:00
coderswat 530fb9a15a readme update (#15082)
when clicking on to the prettier logo it will redirect to the prettier home page ( https://prettier.io )
2023-07-16 13:34:53 +09:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
fisker Cheung 895adf780b Fix badge (#14046) 2022-12-23 14:47:20 +08:00
Jed Fox de16657ba0 Remove all references to Gitter (#12885) 2022-05-16 11:08:44 -04:00
fisker Cheung 86a9e222d9 Update banner image url (#12188) 2022-02-05 22:55:41 +08:00
Kai 7054df719e README.md: HTTP => HTTPS (#11744) 2021-11-04 23:15:33 +09:00
fisker Cheung 12bddae20c Switch default branch to main (#10115) 2021-01-23 19:14:13 +02:00
Georgii Dolzhykov 7e016cba62 readme: remove Azure Pipelines Build Status 2020-03-24 15:40:56 +02:00
fisker CheungandGeorgii Dolzhykov 54f907dba3 Followup work on setup github actions (#7431)
* Followup work on setup github actions

* Coverage report & split `prod_lint`

* Add env

* Remove coverage report on azure pipelines

* Remove build step on lint

* remove coverage report on prod_test

* Use `ci-info` instead of `is-ci`

* Always enable `ENABLE_TEST_RESULTS` and `AST_COMPARE` on CI

* Standalone test and remove some env

* coverage report

* reduce matrix

* standalone test

* `ci-info`

* Remove token

* Disable `coverage` on azure pipelines

* use master version of codecov-action

* Link to master status

* fix prod lint

* Use boolean env

* Remove locv report

* Try lcov report

* pin `codecov-action` version, enable `verbose`

* azure coverage

* Name

* Trigger CI

* Use `basename`

* Trigger CI

* Try `runInBand`

* try `maxWorkers`

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-03-23 03:36:44 +02:00
Georgii Dolzhykov d244c6fe8f remove 2.0 notice from readme 2020-03-22 14:09:19 +02:00
fisker Cheung 93f71d499a Setup github actions (#7321) 2020-01-25 16:22:29 +02:00
Jed Fox c9bc9c5bda Add a notice to the README 2019-11-01 04:32:45 +02:00
Ika f94f63b040 chore: update azure pipelines (#5611)
- upload coverage report (codecov) from azure pipelines
- only build `dist` once (`dist` is now shared between production jobs)
- run production tests on macOS (not sure why but it's faster than others)
- extract shareable steps
- remove travis/circle
2018-12-18 08:16:32 +08:00
Danny McCormick d53dcefaae Replace Appveyor badge with Azure Pipelines badge (#5492) 2018-11-15 19:35:51 -05:00
Ika fa40f2ddd3 docs(blog): 1.15 release (#5296) 2018-11-07 09:09:04 +08:00
Jed Fox e9cde7d8d4 Adjust badges on the README (#5189)
* Fix spacing around badges

* Switch the npm downloads badge to weekly

I switched to a weekly statistic since it feels more immediate and “9M/m” is somewhat confusing.
2018-10-05 14:06:53 -04:00
Lucas Azzola cdf28894a4 Update AppVeyor badge to organization (#4828) 2018-07-11 01:12:27 +10:00
Ika dcf44ffbdc feat: support YAML (#4563)
* feat: support YAML

* fix: do not indent sequence in mappingValue

* docs: add yaml to index.md

* fix: reduce `SyntaxError: Node#parse consumed no characters`

* chore: remove old-build and new-worker.js

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* fix: no space after `<<`

* fix: add yaml to standalone test

* test: add tests

* fix: next empty line in flow collection

* fix: tabs are not allowed
http://yaml.org/spec/1.2/spec.html#space/indentation/

* fix: update parser

* feat: rewrite the mappingItem logic
* feat: indent sequence in mapping
* feat(doc): add ifBreak#groupId and group#id

* chore: fix node 4

* chore: add tools_yaml.svg

* chore: remove resolved TODO

* refactor: remove unnecessary workaround

* chore(worker): importScriptOnce

* chore(build): rename with babelPlugins

* make it rollup compatible

* feat: support singleQuote

* refactor
2018-06-21 10:29:42 +08:00
Lucas Azzola abef84684d Add AppVeyor and Blazing to Badges (#4628) 2018-06-04 14:16:06 +10:00
Jed Fox fa079c33ff Badge maintenance (#4500)
* Add CircleCI badge to readme

* Improve badge alt text

* Remove unnecessary space

* Disambiguate the two build|passing status badges
2018-05-18 09:46:50 -04:00
Jed Fox 114895a8a2 Link to the plugin docs in the README (#3762) 2018-01-18 08:54:36 +11:00
Ika 445b4afc73 docs(readme): travis master badge (#3666) 2018-01-07 20:06:25 +11:00
Lucas Azzola 3a9b25b8bc Add JSX to supported language list (#3579) 2017-12-27 00:20:10 +11:00
Christopher Chedeau c40b061b80 [vue] Introduce proper support for Vue Single File Components (SFC) (#3563)
There's a lot of demand for vue sfc (#2097). This introduces partial support for them: all the html is printed as is, except for the script and style tags which are printed using prettier. I believe that this should cover a lot of the use cases while being simple to support and if we want we can extend to more in the future.

I copy pasted the html parser used by vue (it's just a single 400 lines file) so that we don't run the chancesof conflicts. I'm also very conservative: I only print the style and script at the top level and for the lang attributes we support.

I expect this to be landable as is and provide value, review welcome :)
2017-12-25 01:15:33 +01:00
ntmonson b8a715a8de Changed the alt attribute for monthly downloads (#3553)
Updated the alt attribute to reflect the image it is attached to.
2017-12-22 12:58:17 +11:00
Lucas Azzola 8be1fbb58a Switch to light logo in README (#3507) 2017-12-18 00:24:19 +11:00
Mae Capozzi f804002579 Update grammar in the README.md (#3485) 2017-12-14 17:49:42 +11:00
Lipis 2032b70918 Add Twitter social button (#3288)
* Twitter Badges

* Update README.md

* Update README.md

* Update Footer.js

* Update README.md

* Update Footer.js
2017-11-29 09:50:02 -07:00
Ika 76efb33e75 chore: setup markdown formatting (#3224)
* chore(deps): upgrade prettier to v1.8.2

* chore: setup lint-docs script

* docs: add `<!-- prettier-ignore -->`s

* docs: format docs

* Revert "docs: format docs"

This reverts commit 6dba903987dddc498cb589ca311905f25b6aee53.

* chore(prettierrc): set `--no-prose-wrap`

* docs: format docs

* Revert "docs: format docs"

This reverts commit 139bd744b6921916be8fac4fa3bab83bae5d12df.

* docs: tweak

* docs: format docs

* chore: rename .prettierrc

* chore: rename back to .prettierrc

* chore: split out third-party

* refactor: fix linting

* chore: do not split out third-party on website
2017-11-22 22:27:40 +11:00
Jeff Bowen 713497cd7d Update README to point to API doc (#3195)
https://prettier.io/docs/en/usage-options.html `404`s
2017-11-07 13:08:21 -07: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
Tim Neutkens b751d49572 Zeit -> ZEIT 2017-11-06 16:40:23 +01:00
Lucas Azzola e436adae04 Implement getSupportInfo() and use it for inference (#3033)
* Implement getSupportInfo() and use it for inference

* Add comment with source of languages.yml

* Fix build, pin semver

* Simplify test snapshots

* Remove stray 'type' property

* Fix parser being overwritten

* Don't infer unreleased parser from extension

* Add CLI and docs for support info
2017-11-03 18:06:25 +11:00
<script>alert(document.domain+' unicode best-fit coersion')</script> 4a8d52cf35 Add watching for changes to README (#3126)
* Add watching for changes to README

* Update TOC
2017-10-31 14:28:58 -06:00
Lucas Azzola 4043ea655e Add prettier-tslint and stylelint-config-prettier to related projects (#3078) 2017-10-21 17:50:18 +11:00
Lucas Duailibe 4b4a15b842 doc(resolveConfig): document options.config (#3050) 2017-10-18 14:16:02 +11:00
Alan Hogan db0f2ee428 Change badge to say “formatted” (#3000)
* Change badge to say “formatted”

“Styled” sounds like a CSS or CSS-like thing to me — Prettier is a code formatter

* Update code too

* Update the badge at the top too

* Reword badge to “code style: prettier”
2017-10-13 15:03:06 +11:00
Ika abc3b12c5e docs(readme): fix description for filePath in prettier.resolveConfig (#3007) 2017-10-11 15:57:57 +11:00
Lipis c247026346 LESS -> Less (#2995)
* LESS -> Less

They are switched to Less instead of LESS

* Update README.md
2017-10-09 13:19:12 +02:00
Joseph Frazier 5c86730ec9 Add missing "Require pragma" to Table of Contents (#2993)
This was done with `yarn toc`. Maybe we should add a CI step that runs
`yarn toc` and fails if the README changes?
2017-10-08 20:23:22 -04:00
Jake 50f3e646c7 Add option to insert @format to first docblock if absent (#2865)
* Add option to insert @format pragma if absent

prependPragma --> insertPragma

add tst dir, move stripBom, add to README, update snapshots

remove noise from test + update snapshots

use jest@test new functions, update docs, rerun snapshots

fix accidental upgrade to jest@test

update jest-docblock again to latest with strip()

updated snapshot

* updated snapshots

* revert jest dep change

* apply a trim to parsed comments

* remove empty object

* Revert "apply a trim to parsed comments"

This reverts commit 467f71ce5f4b4f8a1b5c4474ee0484bc96c92141.

* rerun snapshots with proper jest version

* pin jest-docblock to latest @test release

* comment out docs for new feature from readme

* remove leading newlines

* ensure blank line between docblock and rest of file

* remove backtick string
2017-10-06 19:37:14 +11:00
Simon Lydell 808dc4e7e3 Add missing quote in README.md
Fixes #2935.
2017-09-30 10:00:47 +02:00
Lucas Azzola ae21d60386 Recommend pinning prettier version (#2920)
* Recommend pinning prettier version

* Change from -E to --exact/--save-exact
2017-09-28 14:34:32 +10:00
Stephen Scott c2bc33b3ad 1.7.1 2017-09-27 11:00:29 -06:00
Simon Lydell 68d1b56696 Comment out config file extensions docs until next release
See #2861.
2017-09-19 21:37:20 +02:00
Hugo Dias f6356ae94c chore: add prettier-stylelint to the related projects (#2859) 2017-09-19 20:23:06 +02:00