This repository has been archived by the owner on May 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Coding Styles & Standards
Kiki Pluche edited this page Nov 17, 2017
·
1 revision
- Comments
- Commented out code
- Todo items
- Console logs
- Debuggers
- Incorrect indenting
- Spacing between functions
- Spacing between css selectors
- Unused functions
- Unused properties
- Unused CSS selectors
- Dependencies with the ^ greater than version
- Any more CSS classes than is absolutely needed
- Imported fonts
- Any more images than we need use sprites in SVG or WEBP
- Component descriptions and examples
- Property definitions with
- Function definitions with @param and @returns
- All functions have promises
- All functions have a try / catch
- All promises have a catch
- Promise .then is not nested
- Functions use the fat arrow
- Let and const are used in place of var
- Extra line return at the end of the page