Skip to content

Instantly share code, notes, and snippets.

@Ni55aN
Created June 19, 2017 10:45
Show Gist options
  • Save Ni55aN/dc647367b493e290826a8036755d7058 to your computer and use it in GitHub Desktop.
Save Ni55aN/dc647367b493e290826a8036755d7058 to your computer and use it in GitHub Desktop.
{
"parser": "babel-eslint",
"rules": {
"comma-dangle": [1, "never"],
"no-cond-assign": 1,
"no-console": 1,
"no-constant-condition": 1,
"sort-imports": "warn",
"no-duplicate-imports": "warn",
"no-control-regex": 1,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 1,
"no-empty": 1,
"no-extra-boolean-cast": 2,
"no-extra-semi": 1,
"no-func-assign": 2,
"no-inner-declarations": 1,
"no-negated-in-lhs": 1,
"no-sparse-arrays": 2,
"no-unreachable": 2,
"default-case": 1,
"eqeqeq": 1,
"no-caller": 2,
"no-else-return": 1,
"no-eq-null": 2,
"no-eval": 2,
"no-fallthrough": 1,
"no-implied-eval": 1,
"no-labels": 1,
"no-loop-func": 2,
"no-multi-spaces": 1,
"no-new": 1,
"no-proto": 1,
"no-redeclare": 1,
"no-self-compare": 1,
"init-declarations": 1,
"no-shadow": 2,
"no-undef": 1,
"no-undefined": 2,
"no-unused-vars": 1,
"no-use-before-define": 1,
"camelcase": [1, {
"properties": "always"
}],
"comma-spacing": [1, {
"before": false,
"after": true
}],
"indent": ["warn", 4],
"new-cap": [1, {
"newIsCap": true
}],
"newline-after-var": [1, "always"],
"no-mixed-spaces-and-tabs": [1, "smart-tabs"],
"no-multiple-empty-lines": [1, {
"max": 1
}],
"quotes": [1, "single", "avoid-escape"],
"space-before-blocks": [1, "always"],
"space-in-parens": [1, "never"],
"keyword-spacing": 1,
"max-depth": [1, 4],
"max-len": [1, 80, 4, {
"ignoreComments": true
}],
"max-params": [1, 6],
"max-statements": [1, 8]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment