Skip to content

Instantly share code, notes, and snippets.

@michaeljdennis
Created April 22, 2017 02:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaeljdennis/991f4a2aa7a1e5b28259e25d9e6aea42 to your computer and use it in GitHub Desktop.
Save michaeljdennis/991f4a2aa7a1e5b28259e25d9e6aea42 to your computer and use it in GitHub Desktop.
.eslintrc.js
{
"extends": ["eslint:recommended", "google"],
"env": {
"browser": true,
"node": true,
"es6": true,
"jquery": true
},
"rules": {
"valid-jsdoc": ["error", {
"requireReturn": true,
"requireReturnType": true,
"requireParamDescription": true,
"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