Skip to content

Instantly share code, notes, and snippets.

@abhilashsajeev
Last active July 8, 2016 05:08
Show Gist options
  • Save abhilashsajeev/afea37b97c3b67bf8513 to your computer and use it in GitHub Desktop.
Save abhilashsajeev/afea37b97c3b67bf8513 to your computer and use it in GitHub Desktop.
Qburst eslint configuration
{
"env": {
"node": true,
"mocha": true
},
"globals": {
"angular": true,
"ionic": true,
"moment": true,
"R": true,
"inject": true,
"Q": true,
"sinon": true,
"getService": true,
"expect": true,
},
"rules": {
"one-var": [2, "never"],
"camelcase": 1,
"curly": 2,
"brace-style": [2, "1tbs"],
"quotes": [2, "single"],
"semi": [2, "always"],
"space-in-brackets": [2, "never"],
"space-infix-ops": 2,
"space-after-keywords": [2, "always"],
"dot-notation": 2,
"eqeqeq": [2, "smart"],
"no-use-before-define": 2,
"no-redeclare": 2,
"no-inner-declarations": "both",
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
"no-floating-decimal": 2,
"no-spaced-func": 2,
"no-extra-parens": 0,
"no-underscore-dangle": 0,
"valid-jsdoc": 0,
"space-after-keywords": 2,
"max-len": [2, 180],
"no-use-before-define": [2, "nofunc"],
"no-warning-comments": 0,
"strict": 2,
"eol-last": 1,
"semi": 2
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment