aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/.eslintrc
diff options
context:
space:
mode:
authorSiegfried Ehret <siegfried.ehret@sonarsource.com>2019-06-25 09:11:21 +0200
committersonartech <sonartech@sonarsource.com>2019-06-28 08:45:49 +0200
commitf8422ab807d32b342a69e1dbb17137a3985be891 (patch)
tree386f7a2ef48e12c2b0badf82a55c9162c023f6a5 /server/sonar-web/.eslintrc
parent7b96054e487f8517734e2de6d23853154f4184f5 (diff)
downloadsonarqube-f8422ab807d32b342a69e1dbb17137a3985be891.tar.gz
sonarqube-f8422ab807d32b342a69e1dbb17137a3985be891.zip
Update configure analysis screen for GitHub on SonarCloud (#1728)
Diffstat (limited to 'server/sonar-web/.eslintrc')
-rw-r--r--server/sonar-web/.eslintrc7
1 files changed, 6 insertions, 1 deletions
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"
}
}