-
Notifications
You must be signed in to change notification settings - Fork 3
Style Guide
Garett Tok Ern Liang edited this page Sep 8, 2019
·
1 revision
Organize imports as follows (preferably, but not necessarily in this order):
- React imports (React + PropTypes)
- Component imports (stylesheets, other components self-written) - condense this under React imports if there aren't too many of them.
- Redux/routing imports (selectors, connect, routing)
- Additional/External Imports (general code, importing other libraries)
- API imports
Follow es-lint
as required in the pre-commit hook.
Prefer a new line in between every function.
Any proposed change can be done via an issue.