From d94cc47de88ba64d7c9256dba0d83468be3f34f5 Mon Sep 17 00:00:00 2001 From: Douglas Drouillard Date: Thu, 28 Jul 2016 11:56:28 -0400 Subject: [PATCH 1/2] update eslint config for airbnb compatibility --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c89fc5e..105a094 100644 --- a/package.json +++ b/package.json @@ -64,8 +64,10 @@ "webpack-node-externals": "^1.3.0" }, "devDependencies": { - "eslint": "^3.1.1", + "eslint": "^2.13.1", "eslint-config-airbnb": "^9.0.1", + "eslint-plugin-import": "^1.12.0", + "eslint-plugin-jsx-a11y": "^1.2.0", "eslint-plugin-react": "^5.2.2", "json-loader": "^0.5.4", "just-wait": "1.0.5", From b480c03385c7403056af0ca9f62b46278e973df2 Mon Sep 17 00:00:00 2001 From: Douglas Drouillard Date: Thu, 28 Jul 2016 12:36:57 -0400 Subject: [PATCH 2/2] move client to use react hot loader --- configs/webpack.client-watch.js | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/webpack.client-watch.js b/configs/webpack.client-watch.js index d5806da..2f22b99 100644 --- a/configs/webpack.client-watch.js +++ b/configs/webpack.client-watch.js @@ -37,7 +37,7 @@ config.plugins = [ ]; config.module.postLoaders = [ - {test: /\.js$/, loaders: ["babel?cacheDirectory&presets[]=es2015&presets[]=stage-0&presets[]=react&presets[]=react-hmre"], exclude: /node_modules/} + {test: /\.js$/, loaders: ['react-hot', "babel?cacheDirectory&presets[]=es2015&presets[]=stage-0&presets[]=react"], exclude: /node_modules/} ]; module.exports = config; diff --git a/package.json b/package.json index 105a094..139f8e3 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,8 @@ "eslint-plugin-react": "^5.2.2", "json-loader": "^0.5.4", "just-wait": "1.0.5", - "webpack-dev-server": "^1.14.1" + "webpack-dev-server": "^1.14.1", + "react-hot-loader": "^1.3.0" }, "engines": { "node": ">=4.0.0"