30 lines
546 B
JavaScript
30 lines
546 B
JavaScript
module.exports = {
|
|
rules: {
|
|
'require-jsdoc': 'off',
|
|
'valid-jsdoc': [ 'error', {
|
|
prefer: {
|
|
arg: 'param',
|
|
argument: 'param',
|
|
extends: 'augments',
|
|
returns: 'return',
|
|
},
|
|
preferType: {
|
|
array: 'Array',
|
|
bool: 'boolean',
|
|
Boolean: 'boolean',
|
|
float: 'number',
|
|
Float: 'number',
|
|
int: 'number',
|
|
integer: 'number',
|
|
Integer: 'number',
|
|
Number: 'number',
|
|
object: 'Object',
|
|
String: 'string',
|
|
Void: 'void',
|
|
},
|
|
requireParamDescription: false,
|
|
requireReturn: false,
|
|
} ],
|
|
},
|
|
};
|