Coding Standards for Modern Web Development

This is a meta-topic of several key topics for building a new app and having a set of best practice guidelines:

Ruby Coding Standards

JavaScript Coding Standards

Git coding Standards

Sass Coding Standards

CoffeeScript or JavaScript

  • Definitely Javascript, preferably with ES6 syntax

JavaScript UI Framework

JavaScript Package Management and Modules

  • Npm rather than Bower
  • Webpack

Linters

Linting is extremely important to keep on track with any standard. I’m currently using the following tools:

Ruby

  1. RuboCop
  2. ESLint with the javascript/linters/.eslintrc at master · airbnb/javascript · GitHub
  3. JSCS

I’ve posted samples of my configuration here:

Related Forum Topics