aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/.eslintrc
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-12-29 11:37:28 +0100
committerGitHub <noreply@github.com>2016-12-29 11:37:28 +0100
commitc85948205409283fa7dec4ab1db9764acc0d3ce9 (patch)
treeb4fbd692e4ce6cc93ccf417173242398adecf9c1 /server/sonar-web/.eslintrc
parent5595c2f862cca1d07312c9219013f836e45a5f90 (diff)
downloadsonarqube-c85948205409283fa7dec4ab1db9764acc0d3ce9.tar.gz
sonarqube-c85948205409283fa7dec4ab1db9764acc0d3ce9.zip
remove explicit _ and $ dependecies (#1487)
Diffstat (limited to 'server/sonar-web/.eslintrc')
-rw-r--r--server/sonar-web/.eslintrc11
1 files changed, 10 insertions, 1 deletions
diff --git a/server/sonar-web/.eslintrc b/server/sonar-web/.eslintrc
index 461c8bbc32e..c3b1f9b3472 100644
--- a/server/sonar-web/.eslintrc
+++ b/server/sonar-web/.eslintrc
@@ -46,7 +46,16 @@
"func-name-matching": 2,
"func-names": [2, "never"],
"generator-star-spacing": 2,
- "indent": [2, 2, { "SwitchCase": 1, "VariableDeclarator": 2 }],
+ "indent": [2, 2, {
+ "ArrayExpression": 1,
+ "CallExpression": { "arguments": 2 },
+ "MemberExpression": 2,
+ "ObjectExpression": 1,
+ "FunctionDeclaration": { "body": 1, "parameters": 2 },
+ "FunctionExpression": { "body": 1, "parameters": 2 },
+ "SwitchCase": 1,
+ "VariableDeclarator": 2
+ }],
"jsx-quotes": 2,
"key-spacing": 2,
"keyword-spacing": 2,