Commit Graph
22 Commits
Author SHA1 Message Date
fisker Cheung 9691e7bc37 Add acorn parser (#12172) 2022-01-28 15:25:30 +08:00
Sosuke Suzuki 83e5ebe891 Add a script to generate unreleased changelog (#10988)
* Add script to generate changelog

* Fix by prettier

* Use CHANGELOG_CATEGORIES from utils

* Fix filename

* Fix typo

* Add comments

* Replace codeblock

* Fix typo

* Avoid to use top-level await

* Use enquirer

* Address review

* Use meriyah for mjs

* Add comment

* Update usase comment

* Update CONTRIBUTING.md
2021-08-13 12:47:18 +09:00
Georgii Dolzhykov 8410e0db01 Update CONTRIBUTING.md 2021-05-21 12:58:21 +03:00
Georgii Dolzhykov b84bc954e8 Update CONTRIBUTING.md 2021-05-20 23:59:32 +03:00
fisker Cheung ece93681f1 Restructure test files (#10415) 2021-04-25 20:01:56 +08:00
Georgii Dolzhykovandfisker Cheung 2d1186995d Refine CONTRIBUTING.md (#10324)
* Slightly refine CONTRIBUTING.md

* Write more about run_spec

* Wording

* Deeper tests is an advanced topic. Move to bottom

* Mention prettier-regression-testing

* Fix the type for snippets

* Typo

* Add 'Advanced topics' heading

* Fix run_spec types

* Minor edits

* Add link

* Wording around yarn fix

* Update CONTRIBUTING.md

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-02-16 08:56:32 +02:00
fisker Cheung 370844cc4c Run full test on every parser (#9070)
* Refactor test

* Fix

* Improve `hasPragma` & `insertPragma` on files has BOM

* Fix `coreFormat` cursorOffset

* Code style

* Update snapshots

* Refactor

* Restore BOM test

* Add export

* Empty file

* return after SyntaxError

* EOL test

* Fix eol tests

* Named export

* Tweak matrix

* Disable on `requirePragma`

* Disable `cr` test

* Simplify logic

* Update `verbose`

* Remove `test:full-test`

* Typo
2020-09-04 23:43:41 +08:00
fisker Cheung b622578896 Categorize tests part 3 (js) (#8249)
* Categorize tests(js)
2020-05-08 00:55:46 +08:00
Georgii Dolzhykov 670e069519 clean up website readme, remove old deploy script (#8040) 2020-04-14 19:27:25 +03:00
fisker Cheung 71b2d35d59 Test second format (#7565) 2020-03-21 13:43:01 +02:00
Georgii Dolzhykov 8b85bdc21e fix commands in CONTRIBUTING.md 2020-02-27 13:58:25 +02:00
fisker Cheung 03655b48e9 Categorize scripts in package.json (#7561) 2020-02-14 13:20:38 +03:00
Zaven Muradyan 8a37258a33 Add basic instructions on how to run Prettier locally for debugging. (#6686)
Fixes #5887.
2019-10-20 16:19:47 +02:00
Wei-Wei Wu 91c20f7fbe Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
Ivan Babak e35e13c38a docs(perf): add performance section to CONTRIBUTING.md (#4846)
* docs(perf): add performance section to CONTRIBUTING.md

As requested here: https://github.com/prettier/prettier/pull/4789#issuecomment-401861558

* feat(scripts): add perf-repeat, perf-repeat-inspect, perf-benchmark

- update CONTRIBUTING.md to reference these scripts

*  diaereses
2018-07-23 06:20:28 -04:00
Lucas Duailibe 412b064df8 Format docs with Prettier 1.13 2018-05-27 15:38:31 -03:00
Leonard Kinday a199d9e405 Update CONTRIBUTING.md (#4263)
- Fix grammar mistake
- Link to Jest Snapshot Testing guide directly
2018-04-05 14:03:56 -06:00
Lipis 20373d6fee Prettify style in playground and code block languages (#3419) 2017-12-05 19:48:11 -07:00
Lucas Azzola cd6749cbb9 Update contributing docs (#3357) 2017-11-30 10:32:08 -03: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
Lucas Azzola 64ec692b92 Mention labels docs in CONTRIBUTING.md (#2950)
Also remove `--` that was required in `yarn` v0.
2017-10-02 07:44:45 +02:00
Michał Pierzchała 09df0fbe15 Extract contributing guide into separate document (#1702) 2017-05-24 08:32:20 -07:00