Skip to content

Instantly share code, notes, and snippets.

JavaScript Static Analysis Tools

Most people are familiar with these three tools:

  1. [JSHint][1]
  2. [JSLint][2]
  3. [Google Closure Linter][3]

The first one is more popular among developers because it is style-agnostic. The other two enforce rules of [Crockford Style][4] and [Google Code Style][5] respectively.

var fs = require('fs'),
zmq_sockets = require('./zmq_sockets'),
log4js = require('log4js');
log4js.loadAppender('file');
log4js.addAppender(log4js.appenders.file('/tmp/INode.log'));
var logger = log4js.getLogger("app");
function startKernel(configFile) {