You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to follow the existing code as a guideline and reformatted all the project code in pull request #43. This is in preparation for the new design, so that new code has a consistent style to follow.
Styling your code this way is optional. Since there is no configuration file like eslintrc in the project root directory, the developer won't get any additional warnings in their editor.
Here is what it end up being.
4 space width tabs.
Always use semi-colons at the end of Javascript statements.
Single quotes over double quotes.
Spaces around Javascript objects and import {}. For example, import { thing } from "thing".
Please let me know if there are any changes anyone would like to make.
The text was updated successfully, but these errors were encountered:
I'm fine with whatever style but I do think we should add a .prettierrc or something like that so and people can code in whatever style they want and have a bot clean it up for them. That way it doesn't really matter what people's preferences are, the codebase can be consistent.
I tried to follow the existing code as a guideline and reformatted all the project code in pull request #43. This is in preparation for the new design, so that new code has a consistent style to follow.
Styling your code this way is optional. Since there is no configuration file like eslintrc in the project root directory, the developer won't get any additional warnings in their editor.
Here is what it end up being.
import { thing } from "thing"
.Please let me know if there are any changes anyone would like to make.
The text was updated successfully, but these errors were encountered: