aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/.eslintrc
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-04-05 11:46:02 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-04-05 11:46:02 +0200
commit0bac18d71ccd2504254cd82c89ea208320a5fb30 (patch)
tree1a5c465a5411469833a612f0893f2de907997682 /server/sonar-web/.eslintrc
parent7c90d26047935985378a3aa0f26ee316acba59e1 (diff)
downloadsonarqube-0bac18d71ccd2504254cd82c89ea208320a5fb30.tar.gz
sonarqube-0bac18d71ccd2504254cd82c89ea208320a5fb30.zip
enforce js code style5.5-M14
Diffstat (limited to 'server/sonar-web/.eslintrc')
-rw-r--r--server/sonar-web/.eslintrc10
1 files changed, 8 insertions, 2 deletions
diff --git a/server/sonar-web/.eslintrc b/server/sonar-web/.eslintrc
index b22ddbb9776..0161c839d43 100644
--- a/server/sonar-web/.eslintrc
+++ b/server/sonar-web/.eslintrc
@@ -27,7 +27,6 @@
"plugins": [
"react",
- "mocha",
"import"
],
@@ -43,7 +42,7 @@
"no-multi-spaces": 1,
"no-self-compare": 2,
"no-unexpected-multiline": 2,
- "max-len": [1, 120, 2],
+ "max-len": 0,
"no-const-assign": 2,
"no-multiple-empty-lines": [1, { "max": 3 }],
"no-spaced-func": 1,
@@ -76,5 +75,12 @@
"react/react-in-jsx-scope": 2,
"react/self-closing-comp": 2,
"react/sort-comp": 1
+ },
+
+ "settings": {
+ "import/ignore": [
+ "node_modules",
+ "hbs$"
+ ]
}
}