Pinjasaur
5/17/2017 - 6:34 PM

ESLint config (used with Prettier)

ESLint config (used with Prettier)

{
  "rules": {
    "one-var-declaration-per-line": ["error", "always"],
    "indent": ["error", 2, {
      "VariableDeclarator": {
        "var": 2,
        "let": 2,
        "const": 3
      }
    }],
    "no-trailing-spaces": "error",
    "spaced-comment": ["error", "always"],
    "lines-around-directive": ["error", "always"],
    "padded-blocks": ["error", "always"]
  }
}