ShakaCode | ShakaCode Blog | Rails On Maui Blog | Rails | ReactJs | JavaScript | Webpack | Productivity |

Coding Standards for Modern Web Development


#1

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 https://github.com/airbnb/javascript/blob/master/linters/.eslintrc
  3. JSCS

I’ve posted samples of my configuration here:

Related Forum Topics