Skip to content

Instantly share code, notes, and snippets.

@domluna
Created September 24, 2015 19:08
Show Gist options
  • Select an option

  • Save domluna/2183e90e947557c041db to your computer and use it in GitHub Desktop.

Select an option

Save domluna/2183e90e947557c041db to your computer and use it in GitHub Desktop.
babel eslint setup
{
"parser": "babel-eslint",
"env": {
"node": true,
"mocha": true
},
"rules": {
"brace-style": 2,
"camelcase": 2,
"comma-dangle": [2, "never"],
"comma-style": 2,
"dot-notation": 2,
"eol-last": 2,
"eqeqeq": 2,
"indent": [2, 2],
"key-spacing": 2,
"max-len": [2, 80, 2],
"no-array-constructor": 2,
"no-dupe-keys": 2,
"no-eq-null": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": [2, "functions"],
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-new-object": 2,
"no-shadow-restricted-names": 2,
"no-spaced-func": 2,
"no-unused-vars": 2,
"no-use-before-define": 0,
"no-var": 2,
"object-shorthand": 2,
"one-var": [2, "never"],
"prefer-const": 2,
"quote-props": [2, "as-needed"],
"quotes": [2, "single"],
"semi-spacing": 2,
"semi": [2, "always"],
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"space-infix-ops": 2,
"spaced-comment": 2,
"strict": 0,
"use-isnan": 2,
"valid-jsdoc": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment