Set up the Linter and Prettier in the development process.
- [Instructor] Welcome to our last video of the section:…how to wrap everything, that we just learned…about linterings, and prettier, using a git hook.…And this basically means to execute…the style guide check and correctness before each commit.…How do we want this to work?…Well, this is actually the flow that we want to follow.…Before committing, we want to run the linting…and in case it fails, show the errors on the console,…and prevent from committing changes…that doesn't fit to our style guide.…
In this case, since the lint was successful,…Prettier won't have much to do,…but there's still some changes…that the linter doesn't apply that Prettier does.…For example, breaking props in…new lines, if the line is quite big.…And at the end, we want to commit…and process those changes in edit history.…Okay, so let's build it.…The starting point for this would be your package json file,…and what we want to do here is…to define a precommit script, okay?…We want this script to be run…every time I execute git commit.…
Unfortunately, git commit is not something…
- Structuring React projects
- Creating and mounting the root component
- Composing components for more complex UI
- Using state to making components dynamic
Skill Level Intermediate
React.js: Building an Interface (2016)with Ray Villalobos1h 21m Intermediate
React: Managing Complex Interactionswith Emmanuel Henri1h 45m Intermediate
1. How to Structure React Projects
2. Diving into the First Components
3. Styling Made Easy
5. Painless Components Testing
Configure Jest5m 44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.