git clone https://github.com/Idrottskoll/idrottskoll-web.git <My App Name>
cd idrottskoll-web <My App Name>
npm install
npm run startIn this chapter we describe the terminology we use in the application code.
eventScheduleThe schedule for all the events and tournaments.streamScheduleThe schedule for all the steams.
- Most important: Look around. Match the style you see used in the rest of the project. This includes formatting, naming things in code, naming things in documentation.
- Add trailing commas,
- 4 spaces for indentation (no tabs)
- Use semicolons
; - ES6 standards
airbnb - Prefer
'over" - 80 character line length
- Do NOT use
varwhen declaring a variable
- Prefer
"over'for string literal props - When wrapping opening tags over multiple lines, place one prop per line
{}of props should hug their values (no spaces)- Place the closing
>of opening tags on the same line as the last prop - Place the closing
/>of self-closing tags on their own line and left-align them with the opening<