Created
July 26, 2015 10:05
-
-
Save aceakash/b05e42f46c7d850d9240 to your computer and use it in GitHub Desktop.
ESLint Configuration for Node.js/ES6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rules": { | |
"indent": [2, 2], | |
"quotes": [2, "single"], | |
"linebreak-style": [2, "unix"], | |
"semi": [2, "always"], | |
"no-underscore-dangle": 0, | |
"curly": 0, | |
"no-use-before-define": [2, "nofunc"], | |
"spaced-comment": [2, "always"], | |
"space-before-function-paren": [2, { "anonymous": "always", "named": "never" }], | |
"space-after-keywords": [2, "always"], | |
"space-before-blocks": [2, "always"], | |
"semi-spacing": [2, {"before": false, "after": true}], | |
"no-var": 2, | |
"object-shorthand": [2, "always"], | |
"prefer-const": 2 | |
}, | |
"env": { | |
"es6": true, | |
"node": true, | |
"mocha": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment