- Open the forked repo in VSCode.
- Create a new branch by running
git checkout -b task_solution. - Run the installation commands:
npm cinpx playwright install
-
Set up ESLint using instructions given in the theory:
- Run the
npx eslintcommand and make sure you see the list of errors. - Fix all bugs in the code.
- Run the
-
Set up Prettier using the instructions given in the theory section.
-
Set up Husky and Lint-Staged using instructions given in the theory section.
-
Re-run all your tests and make sure they pass after the updates.
-
Commit all your updates:
- To see all ESlint errors in the terminal, run
git commit -m "<commit message>"from the terminal. - Fix all remaining errors, if any. You will not be able to do a commit until all errors are resolved.
- To see all ESlint errors in the terminal, run
- Push the code to the origin.
- Create a PR for your changes.
- Keep implementing suggestions from code review until the PR is approved.