From 06f626b1a5a2c38795d9488f0ab58e4a164b456d 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/.eslintrc.cjs b/webapp/.eslintrc.cjs index 74a900fee9..ced2abe8fb 100644 --- a/webapp/.eslintrc.cjs +++ b/webapp/.eslintrc.cjs @@ -47,6 +47,7 @@ module.exports = { "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 +75,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 }, };