Last active
April 23, 2017 19:51
-
-
Save m-arrieta-r/ee08b02999fa4493cf10c82500220bd0 to your computer and use it in GitHub Desktop.
eslint fuse rules
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
{ | |
"rules": { | |
keyword-spacing: [ | |
"warn", { | |
"before": true, | |
"after": true, | |
}], | |
one-var: ["warn", "never"], | |
brace-style: "warn", | |
space-before-function-paren: ["warn", "never"], | |
no-unused-vars: ["warn", { "args": "none", "vars": "local" }], | |
no-use-before-define: ["error", { "functions": false, "classes": false, "variables": false }], | |
no-console: ["warn", { allow: ["warn", "error"] }], | |
no-cond-assign: ["error"], | |
no-alert: "error", | |
no-dupe-keys: "error", | |
eqeqeq: ["error", "smart"], | |
require-jsdoc: ["error", { | |
"require": { | |
"FunctionDeclaration": true, | |
"MethodDefinition": false, | |
"ClassDeclaration": false, | |
"ArrowFunctionExpression": false | |
} | |
}] | |
}, | |
"env": { | |
"node": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment