Skip to content

Commit d776263

Browse files
pvdlgsindresorhus
authored andcommitted
Add valid-jsdoc rule (#45)
1 parent bda02cb commit d776263

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,11 @@ module.exports = {
263263
'rest-spread-spacing': ['error', 'never'],
264264
'symbol-description': 'error',
265265
'template-curly-spacing': 'error',
266-
'yield-star-spacing': ['error', 'both']
266+
'yield-star-spacing': ['error', 'both'],
267+
'valid-jsdoc': ['warn', {
268+
'requireReturn': false,
269+
'requireParamDescription': true,
270+
'requireReturnDescription': true
271+
}]
267272
}
268273
};

0 commit comments

Comments
 (0)