From f8422ab807d32b342a69e1dbb17137a3985be891 Mon Sep 17 00:00:00 2001 From: Siegfried Ehret Date: Tue, 25 Jun 2019 09:11:21 +0200 Subject: Update configure analysis screen for GitHub on SonarCloud (#1728) --- server/sonar-web/.eslintrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'server/sonar-web/.eslintrc') diff --git a/server/sonar-web/.eslintrc b/server/sonar-web/.eslintrc index 652d22c0c7d..b10c9ca35a9 100644 --- a/server/sonar-web/.eslintrc +++ b/server/sonar-web/.eslintrc @@ -1,6 +1,11 @@ { "extends": "sonarqube", + "plugins": [ + "react-hooks" + ], "rules": { - "camelcase": "off" + "camelcase": "off", + "react-hooks/rules-of-hooks": "error", + "react-hooks/exhaustive-deps": "warn" } } -- cgit v1.2.3