From c394ea30ef889abe35bae465b208fa6163622346 Mon Sep 17 00:00:00 2001 From: Alexandr Garbuzov Date: Thu, 10 Aug 2023 11:16:32 +0300 Subject: [PATCH] Enable valid-jsdoc eslint rule (#2928) --- .eslintrc.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 05e96cc9066a4..56121657c1ecb 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -20,14 +20,14 @@ // All JSDoc comments must be valid - // "valid-jsdoc": [ "error", { - // "requireReturn": false, - // "requireReturnDescription": false, - // "requireParamDescription": true, - // "prefer": { - // "return": "returns" - // } - // }], + "valid-jsdoc": [ "error", { + "requireReturn": true, + "requireReturnDescription": true, + "requireParamDescription": true, + "prefer": { + "return": "returns" + } + }], // Best Practices