From c96fb77c990b7ba39fd2889a8a900e510a1d2ba2 Mon Sep 17 00:00:00 2001 From: Samir Kamal <1954121+skamril@users.noreply.github.com> Date: Mon, 25 Mar 2024 14:17:46 +0100 Subject: [PATCH] chore(eslint): add new rules --- webapp/.eslintrc.cjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/.eslintrc.cjs b/webapp/.eslintrc.cjs index 74a900fee9..c39a0165bc 100644 --- a/webapp/.eslintrc.cjs +++ b/webapp/.eslintrc.cjs @@ -44,9 +44,11 @@ module.exports = { }, ], curly: "error", + "jsdoc/no-defaults": "off", "jsdoc/require-hyphen-before-param-description": "warn", "jsdoc/require-jsdoc": "off", "jsdoc/tag-lines": ["warn", "any", { "startLines": 1 }], // Expected 1 line after block description + "no-console": "error", "no-param-reassign": [ "error", { @@ -74,5 +76,6 @@ module.exports = { "react/hook-use-state": "error", "react/prop-types": "off", "react/self-closing-comp": "error", + "require-await": "warn", // TODO: switch to "error" when the quantity of warning will be low }, };