-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
main.js uses 4 spaces for indents #39
Comments
ESlint documentation acknowledges the existence of other acceptable style guides per https://eslint.org/docs/latest/rules/indent. Its probably just best then to adopt whichever of those acceptable styles makes you happy or just adopt the one that your linting tool prefers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It it Javascript best practice to use 2 spaces for indents as enforced by most linters (eg. ESlint, StandardJS, Prettifier). Since this is a beginner tutorial, it's helpful to start us off with good habits.
The text was updated successfully, but these errors were encountered: