Skip to content

Instantly share code, notes, and snippets.

@cggaurav
Last active February 27, 2017 14:54
Show Gist options
  • Save cggaurav/4859ee598bfbc4d655dab27629fa5aee to your computer and use it in GitHub Desktop.
Save cggaurav/4859ee598bfbc4d655dab27629fa5aee to your computer and use it in GitHub Desktop.
eslint
{
"extends": [
"eslint:recommended"
],
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true
},
"ecmaFeatures": {
"modules": true
},
"globals": {
"Promise": true,
"debug": true,
"pe": true
},
"rules": {
"array-callback-return": 1,
"arrow-body-style": 0,
"arrow-parens": 1,
"comma-dangle": 1,
"consistent-return": 1,
"default-case": 0,
"dot-notation": 1,
"global-require": 0,
"import/extensions": 1,
"import/no-dynamic-require": 0,
"import/no-extraneous-dependencies": [2, {"devDependencies": true}],
"import/no-mutable-exports": 0,
"import/imports-first": 0,
"indent": [2, 4, {"SwitchCase": 1}],
"max-len": [1, 140, 2, {"ignoreComments": true}],
"new-cap": 0,
"no-cond-assign": [2, "except-parens"],
"no-console": 0,
"no-else-return": 0,
"no-empty": 0,
"no-extra-semi": 1,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-shadow": 0,
"no-underscore-dangle": 0,
"no-unexpected-multiline": 2,
"no-unused-vars": [1, {"args": "none", "vars": "local"}],
"object-curly-spacing": 0,
"object-shorthand": 1,
"padded-blocks": 0,
"prefer-const": 1,
"quote-props": [1, "consistent-as-needed"],
"quotes": 0,
"radix": 0,
"semi": 0,
"space-before-function-paren": 0,
"strict": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment