Skip to content

Instantly share code, notes, and snippets.

@RB-Lab
Last active January 16, 2016 14:42
Show Gist options
  • Save RB-Lab/d6fb41176f99ed04cac4 to your computer and use it in GitHub Desktop.
Save RB-Lab/d6fb41176f99ed04cac4 to your computer and use it in GitHub Desktop.
RB-Labs shiny .eslintrc [work in progress]
{
"env": {
"es6": true,
"browser": true
},
"rules": {
"comma-dangle": [2, "never"],
"indent": [1, "tab"],
"no-cond-assign": 1,
"no-console": 1,
"no-debugger": 1,
"no-constant-condition": 2,
"no-control-regex": 2,
"no-empty-character-class": 2,
"no-invalid-regexp": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-ex-assign": 2,
"no-empty": 2,
"semi": 1,
"no-extra-semi": 1,
"no-func-assign": 2,
"no-inner-declarations": [2, "both"],
"no-irregular-whitespace": 2,
"no-negated-in-lhs": 2,
"no-regex-spaces": 2,
"no-sparse-arrays": 2,
"no-obj-calls": 2,
"no-unreachable": 1,
"no-unexpected-multiline": 2,
"valid-jsdoc": 1,
"valid-typeof": 2,
"use-isnan": 1,
"accessor-pairs": 1,
"complexity": [1, 6],
"max-depth": [1, 4],
"max-params": [1, 4],
"max-nested-callbacks": [1, 3],
"max-statements": [1, 15],
"curly": [2, "multi-or-nest", "consistent"],
"dot-location": [2, "object"],
"": [],
"": [],
"": [],
"consistent-return": 2,
"dot-notation": 1,
"eqeqeq": 2,
"no-alert": 1,
"no-caller": 2,
"no-case-declarations": 2,
"no-else-return": 1,
"no-empty-label": 1,
"no-empty-pattern": 2,
"no-eq-null": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 1,
"no-fallthrough": 2,
"no-floating-decimal": 1,
"": 2,
"": 2,
"": 2,
"": 2,
"": 2,
"": 2,
"": 2,
"space-return-throw-case": 1,
"no-multi-spaces": 1,
"key-spacing": 1,
"comma-spacing": 1,
"space-infix-ops": 1,
"prefer-const": 1,
"no-var": 1,
"one-var": [1, {"initialized": "never"}],
"padded-blocks": 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment