Last active
October 26, 2015 18:14
-
-
Save dalelane/a9fe6c4c08855cf2bc91 to your computer and use it in GitHub Desktop.
.eslintrc
This file contains 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
{ | |
"env" : { | |
"node": true | |
}, | |
"rules" : { | |
"strict": [2, "global"], | |
"quotes": [1, "single"], | |
"key-spacing": [1, { "beforeColon" : true, "afterColon" : true }], | |
"space-before-blocks": [1, "always"], | |
"space-before-function-paren": [1, "always"], | |
"space-after-keywords": [1, "always"], | |
"max-statements": [1, 15], | |
"max-depth": [1, 2], | |
"complexity": [1, 5], | |
"max-nested-callbacks": [1, 3], | |
"no-console": 2, | |
"no-warning-comments": 1, | |
"consistent-this": [1, "self"], | |
"valid-jsdoc": [1, { }], | |
"block-scoped-var": 1, | |
"default-case": 1, | |
"handle-callback-err": 2, | |
"no-lonely-if" : 2, | |
"no-self-compare": 2, | |
"no-sync": 2, | |
"no-throw-literal": 1, | |
"smells/no-setinterval": 1, | |
"smells/no-this-assign": 1 | |
}, | |
"plugins" : [ | |
"smells" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment