Skip to content

Commit 579af4a

Browse files
committed
infra: enable require-jsdoc eslint rule (anuraghazra#3175)
1 parent 2c090f8 commit 579af4a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.eslintrc.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
// "no-dupe-class-members": "error",
159159
// "no-this-before-super": "error",
160160
// "no-var": "warn",
161-
"object-shorthand": [ "warn" ]
161+
"object-shorthand": [ "warn" ],
162162
// "prefer-arrow-callback": "warn",
163163
// "prefer-spread": "warn",
164164
// "prefer-template": "warn",
@@ -211,13 +211,13 @@
211211
// "padded-blocks": [ "warn", "never" ],
212212
// "quote-props": [ "warn", "consistent-as-needed" ],
213213
// "quotes": [ "warn", "single" ],
214-
// "require-jsdoc": [ "warn", {
215-
// "require": {
216-
// "FunctionDeclaration": true,
217-
// "MethodDefinition": true,
218-
// "ClassDeclaration": false
219-
// }
220-
// }],
214+
"require-jsdoc": [ "warn", {
215+
"require": {
216+
"FunctionDeclaration": true,
217+
"MethodDefinition": true,
218+
"ClassDeclaration": false
219+
}
220+
}]
221221
// "semi-spacing": [ "warn", { "before": false, "after": true }],
222222
// "semi": [ "error", "always" ],
223223
// "sort-vars": "off",

0 commit comments

Comments
 (0)