diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-12-08 12:41:02 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-12-08 12:46:08 +0100 |
commit | 0a3a9ea2a47fe09082d9079fdc89a2a025de79e2 (patch) | |
tree | 9d04bce0eb435adf9a79ea360727798b5b6c4b97 /server/sonar-web/package.json | |
parent | 1a45e47fdeca85e1884775243187e32ab294c8e3 (diff) | |
download | sonarqube-0a3a9ea2a47fe09082d9079fdc89a2a025de79e2.tar.gz sonarqube-0a3a9ea2a47fe09082d9079fdc89a2a025de79e2.zip |
improve code quality
Diffstat (limited to 'server/sonar-web/package.json')
-rw-r--r-- | server/sonar-web/package.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index 46d8eedc290..38d0e420486 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -6,6 +6,7 @@ "license": "LGPL-3.0", "devDependencies": { "babel": "5.8.23", + "babel-eslint": "^4.1.6", "babelify": "6.3.0", "backbone": "1.2.3", "backbone.marionette": "2.4.3", @@ -17,6 +18,9 @@ "clipboard": "1.5.5", "d3": "3.5.6", "del": "2.0.2", + "eslint": "^1.10.3", + "eslint-plugin-mocha": "^1.1.0", + "eslint-plugin-react": "^3.11.3", "event-stream": "3.3.1", "glob": "5.0.15", "gulp": "3.9.0", @@ -56,7 +60,8 @@ "build-fast": "gulp --fast", "build": "gulp", "test": "./node_modules/.bin/mocha --opts tests/mocha.opts tests", - "coverage": "./node_modules/.bin/babel-node ./node_modules/.bin/isparta cover --dir './target/coverage' ./node_modules/.bin/_mocha -- --opts tests/mocha.opts tests" + "coverage": "./node_modules/.bin/babel-node ./node_modules/.bin/isparta cover --dir './target/coverage' ./node_modules/.bin/_mocha -- --opts tests/mocha.opts tests", + "lint": "eslint src/main/js" }, "browserify-shim": { "jquery": "global:jQuery", |