-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(test): add instruction on how to integrate test in pre-commit hook #2598
Closed
Closed
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
f6b723b
docs(test): reorganize `Running Test` section
luftywiranda13 126089a
docs(test): add instruction on how to integrate test in pre-commit hook
luftywiranda13 9438203
Merge branch 'master' into chore/docs
luftywiranda13 89bc434
docs(test): use `cross-env`
luftywiranda13 f63c8cc
Merge branch 'master' into chore/docs
luftywiranda13 68f4d5c
Merge branch 'master' into chore/docs
luftywiranda13 96fa3ed
chore(docs): move VC & CI sections
luftywiranda13 6cec549
chore(docs): list `pre-commit` in TOC
luftywiranda13 5e42aea
chore(docs): move `pre-commit` after `continuous integration` section
luftywiranda13 d437cd8
docs: add `Useful Hooks` section
luftywiranda13 a0e0246
Merge remote-tracking branch 'origin/master' into pr/2598
luftywiranda13 a4983ac
docs: move `Formatting Code Automatically` under `Useful Hooks`
luftywiranda13 c16f277
docs: update link about `prettier` to point to CRA internal docs
luftywiranda13 1f29882
docs: move `Pre-Commit Hook` under `Useful Hooks`
luftywiranda13 2c662c1
docs: update heading
luftywiranda13 b0942ae
style: add whitespace
luftywiranda13 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We just merged a very similar PR for Prettier commit hook. Should we unify those sections? We can leave non-hook descriptions in both and link to a section where both hooks are described with a common setup step. Can be called "Useful Hooks".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it really needed to add docs about prettier in CRA? since there's no special step to do it in a CRA based project.
people can read through
prettier
docs then do exactly what the docs say, it'll just work. and IMO by merging #2006 will make CRA docs bloated day by day.on the other hand, i think we should add docs & explain something which are specific/special in CRA based project like how to run test, storybook, coverage reporting, linting, etc. yeah basically just like what we did so far in our docs except for #2006.
what do you think? but if you think that it doesnt matter, i'll go on and do what you suggested here 😊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already added docs about Prettier (#2006 is merged). I'm referring to consolidating those two sections and removing duplication between them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, any suggestion on where to put the "Useful Hooks"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put it somewhere you like, I'll take a look and think about it