aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/package.json
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-10-23 20:38:19 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-10-30 09:20:37 +0100
commit3aeea07185ebb2eceeab4a0ec520f7d641d02f39 (patch)
tree0406942e88fa3ae9d9539186ff31520beaac90ac /server/sonar-web/package.json
parent973d117229fc17176e9ea3384ec4a737178b28c2 (diff)
downloadsonarqube-3aeea07185ebb2eceeab4a0ec520f7d641d02f39.tar.gz
sonarqube-3aeea07185ebb2eceeab4a0ec520f7d641d02f39.zip
use eslint for typescript, update eslint configuration (#2742)
Diffstat (limited to 'server/sonar-web/package.json')
-rw-r--r--server/sonar-web/package.json16
1 files changed, 8 insertions, 8 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json
index 336b9affc41..bb98241f947 100644
--- a/server/sonar-web/package.json
+++ b/server/sonar-web/package.json
@@ -67,7 +67,6 @@
"autoprefixer": "7.1.1",
"awesome-typescript-loader": "3.2.3",
"babel-core": "^6.22.1",
- "babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"babel-loader": "7.0.0",
"babel-plugin-dynamic-import-node": "1.0.2",
@@ -83,12 +82,12 @@
"css-loader": "0.28.4",
"enzyme": "2.9.1",
"enzyme-to-json": "1.5.1",
- "eslint": "3.14.1",
+ "eslint": "4.9.0",
"eslint-loader": "1.8.0",
- "eslint-plugin-flowtype": "^2.29.1",
- "eslint-plugin-import": "2.7.0",
- "eslint-plugin-jsx-a11y": "^3.0.2",
- "eslint-plugin-react": "^6.8.0",
+ "eslint-plugin-import": "2.8.0",
+ "eslint-plugin-jsx-a11y": "6.0.2",
+ "eslint-plugin-promise": "3.6.0",
+ "eslint-plugin-react": "7.4.0",
"expose-loader": "0.7.3",
"extract-text-webpack-plugin": "2.1.2",
"flow-bin": "^0.52.0",
@@ -106,7 +105,8 @@
"rimraf": "2.5.4",
"style-loader": "0.18.2",
"ts-jest": "20.0.10",
- "typescript": "2.4.2",
+ "typescript": "2.5.3",
+ "typescript-eslint-parser": "8.0.0",
"webpack": "2.6.1",
"webpack-bundle-analyzer": "2.8.2",
"webpack-dev-server": "2.4.5"
@@ -118,7 +118,7 @@
"test": "node scripts/test.js",
"coverage": "npm test -- --coverage",
"format": "prettier --write --list-different 'src/main/{js,less}/!(libs)/**/*.{js,ts,tsx,css,less}'",
- "lint": "eslint src/main/js",
+ "lint": "eslint --ext js,ts,tsx --quiet src/main/js",
"typecheck": "flow src/main/js",
"validate": "eslint src/main/js && flow check src/main/js && NODE_ENV=test jest"
},