summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoHong Li2017-03-13 02:23:58 +0800
committerBoHong Li2017-03-13 02:23:58 +0800
commit6cf06837f8453a83e12e9f72050b1d7e995f027e (patch)
treef4503b4793dcd99d1545149bc5c3d9a2c3a0c0e3
parentbefa89be8b69ed1b951099828c5dbc7e550d4c68 (diff)
Remove eslint
1. Remove eslint , bacause we use JavaScript Standard Style. 2. Add lts/boron version to travis CI, web use it in docker version Signed-off-by: BoHong Li <a60814billy@gmail.com>
-rw-r--r--.travis.yml2
-rw-r--r--package.json5
2 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index ed8ab42f..235f84b7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,7 @@ language: node_js
node_js:
- 6
- 7
- - stable
+ - lts/boron
env:
- CXX=g++-4.8
addons:
diff --git a/package.json b/package.json
index 2012dbdf..05789321 100644
--- a/package.json
+++ b/package.json
@@ -5,8 +5,8 @@
"main": "app.js",
"license": "MIT",
"scripts": {
- "test": "node ./node_modules/standard/bin/cmd.js && npm run-script lint",
- "lint": "eslint .",
+ "test": "npm run-script standard",
+ "standard": "node ./node_modules/standard/bin/cmd.js",
"dev": "webpack --config webpack.config.js --progress --colors --watch",
"build": "webpack --config webpack.production.js --progress --colors",
"postinstall": "bin/heroku",
@@ -152,7 +152,6 @@
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.26.1",
"ejs-loader": "^0.3.0",
- "eslint": "^3.15.0",
"exports-loader": "^0.6.3",
"expose-loader": "^0.7.1",
"extract-text-webpack-plugin": "^1.0.1",