infra: enable require-jsdoc eslint rule (#3175)

This commit is contained in:
Alexandr Garbuzov 2023-09-03 12:25:36 +03:00 committed by GitHub
parent 70201d6892
commit 13af3ba4df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,7 +158,7 @@
// "no-dupe-class-members": "error",
// "no-this-before-super": "error",
// "no-var": "warn",
"object-shorthand": [ "warn" ]
"object-shorthand": [ "warn" ],
// "prefer-arrow-callback": "warn",
// "prefer-spread": "warn",
// "prefer-template": "warn",
@ -211,13 +211,13 @@
// "padded-blocks": [ "warn", "never" ],
// "quote-props": [ "warn", "consistent-as-needed" ],
// "quotes": [ "warn", "single" ],
// "require-jsdoc": [ "warn", {
// "require": {
// "FunctionDeclaration": true,
// "MethodDefinition": true,
// "ClassDeclaration": false
// }
// }],
"require-jsdoc": [ "warn", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": false
}
}]
// "semi-spacing": [ "warn", { "before": false, "after": true }],
// "semi": [ "error", "always" ],
// "sort-vars": "off",