Commit c04ddf76 authored by alexpott's avatar alexpott

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

parent 872b4963
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment