From 6cf06837f8453a83e12e9f72050b1d7e995f027e Mon Sep 17 00:00:00 2001 From: BoHong Li Date: Mon, 13 Mar 2017 02:23:58 +0800 Subject: [PATCH] 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 --- .travis.yml | 2 +- package.json | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ed8ab42..235f84b 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 2012dbd..0578932 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",