Skip to content

Instantly share code, notes, and snippets.

@collins-b
Created July 22, 2018 09:16
Show Gist options
  • Save collins-b/067ab1ae3562e85b3d08f986dc67ff72 to your computer and use it in GitHub Desktop.
Save collins-b/067ab1ae3562e85b3d08f986dc67ff72 to your computer and use it in GitHub Desktop.
{
"extends": "airbnb",
"plugins": [
"import"
],
"root": true,
"env": {
"node": true,
"es6": true,
"mocha": true
},
"rules": {
"one-var": 0,
"one-var-declaration-per-line": 0,
"new-cap": 0,
"consistent-return": 0,
"no-param-reassign": 0,
"comma-dangle": 0,
"curly": ["error", "multi-line"],
"no-shadow": ["error", { "allow": ["req", "res", "err"] }],
"valid-jsdoc": ["error", {
"requireReturn": true,
"requireReturnType": true,
"requireParamDescription": false,
"requireReturnDescription": true
}],
"require-jsdoc": ["error", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true
}
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment