πŸ§‘πŸΎβ€πŸ’» prep

There is just so much to do!

🧰 Check your setup

  • You must have a UNIX operating system (MacOS or Linux). Don’t use Windows.
  • You must have VSCode installed. Don’t use another editor.
  • You must have the CYF VS Code extension pack installed and Prettier enabled. Don’t use another formatter.

🧹 Linting and formatting

Using a shared formatting convention makes sure your “diffs” ( differences between the codebase and your changes) only show the code you intentionally wrote, and not a bunch of spaces or tabs. It will also help you read your own code as you work on it.

VS Code format on save

  1. In Visual Studio open the settings file (Code > Preferences > Settings)
  2. Search for editor format
  3. Set editor.formatOnSave and editor.formatOnPaste to true
  4. Set the “Default Formatter” to be Prettier
  5. In your editor, write some html and save the file. It should be formatted (indented) automatically.

Ask for help on main Slack if you are having trouble with Prettier. If a group of you are blocked by this, schedule thirty minutes of your class study time to set this up together.

Your pull requests may be automatically rejected if your code is not formatted and linted.

πŸ‘£ What should we do next?

  1. Read and complete the Sprint 1 prep
  2. Find your backlog and add your tickets to your project board
  3. Read over the day plan for the upcoming class day