Skip to content
Snippets Groups Projects
Commit c04ddf76 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2494177 by nod_: Enable ESLint warning for missing JSDoc

parent 872b4963
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@
"guard-for-in": 2,
"indent": [2, 2, {"indentSwitchCase": true}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"lines-around-comment": [2, {"beforeBlockComment": true, "afterBlockComment": false}],
"no-implied-eval": 2,
"no-mixed-spaces-and-tabs": 2,
"no-nested-ternary": 2,
......@@ -42,6 +43,13 @@
"strict": 2,
// Warnings.
"max-nested-callbacks": [1, 3],
"valid-jsdoc": [1, {
"prefer": {
"returns": "return",
"property": "prop"
},
"requireReturn": false
}],
// Disabled.
"camelcase": 0,
"consistent-return": 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment