From 141179a24e04d399050ea9a32bc09817e95e382a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kiho=20=C2=B7=20Cham?= Date: Mon, 3 Jul 2017 00:39:09 +0800 Subject: [PATCH] doc: fix the order of lint and prettier (#10095) (cherry picked from commit 03db57aa718d23dcca69ffce26e9806f7ab1bcb4) --- docs/contributing/how-to-contribute.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contributing/how-to-contribute.md b/docs/contributing/how-to-contribute.md index 3403ca379e..65943658cd 100644 --- a/docs/contributing/how-to-contribute.md +++ b/docs/contributing/how-to-contribute.md @@ -80,8 +80,8 @@ The core team is monitoring for pull requests. We will review your pull request 2. If you've added code that should be tested, add tests! 3. If you've changed APIs, update the documentation. 4. Ensure the test suite passes (`npm test`). -5. Make sure your code lints (`npm run lint`). -6. Format your code with [prettier](https://github.com/prettier/prettier) (`npm run prettier`). +5. Format your code with [prettier](https://github.com/prettier/prettier) (`npm run prettier`). +6. Make sure your code lints (`npm run lint`). 7. Run the [Flow](https://flowtype.org/) typechecks (`npm run flow`). 8. If you added or removed any tests, run `./scripts/fiber/record-tests` before submitting the pull request, and commit the resulting changes. 9. If you haven't already, complete the CLA.