Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
c04ddf76
Commit
c04ddf76
authored
Jun 12, 2015
by
Alex Pott
Browse files
Issue
#2494177
by nod_: Enable ESLint warning for missing JSDoc
parent
872b4963
Changes
1
Hide whitespace changes
Inline
Side-by-side
.eslintrc
View file @
c04ddf76
...
...
@@ -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,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment