Skip to content

Instantly share code, notes, and snippets.

View platinumazure's full-sized avatar

Kevin Partington platinumazure

View GitHub Profile

Keybase proof

I hereby claim:

  • I am platinumazure on github.
  • I am platinumazure (https://keybase.io/platinumazure) on keybase.
  • I have a public key ASBBpRjvWLoofEGsFfViusKEHpLOtDaQ97MKUiZtAg53Iwo

To claim this, I am signing this object:

// Copyright 2016 Kevin Partington. Licensed freely to the public domain.
// N.B. You will need to run this in the root of an ESLint repository.
var path = require("path");
var semver = require("semver");
var shelljs = require("shelljs");
if (process.argv.length < 3) {
console.error("Must specify ESLint version");
console.error("Usage: " + process.argv.slice(0, 2).join(" ") + " VERSION");
return 1;
@platinumazure
platinumazure / findings.md
Created March 6, 2016 02:37
ESLint code conventions vs lint config

Okay, I've gone through the Code Conventions document. Here is a list of each section of that document, as well as whether we are enforcing it via our own ESLint configuration.

  • Indentation: 4 spaces: indent
  • Primitive Literals:
    • Double quotes: quotes
    • Single-line strings: no-multi-str
    • Numbers:
      • No octal literals: no-octal
      • No leading/trailing decimal: no-floating-decimal
  • Null: Unsure how to enforce