Coding standards - DanielvandeVelde/Matcher GitHub Wiki
Coding standards
I'm trying to use more ES6.
Arrow-functions whenever I can since I rarely use this, probably do need Babel for polyfills and older browser support.
Ternary operators when I can because they look great.
Never using loops like for() and forEach() and always using .map(), .filter() and .reduce().
Always using const and let never var, arrays and objects are always const since they can be mutated the right way.
Try not to use global variables
Try to always use true and false, never falsey or truey values.
Formatting is a thing, apparently GitHub doesn't like my new formatting style, so I'm going back to 2 spaces/no tabs.
ESLint always on strict.