diff --git a/.travis.yml b/.travis.yml index 402fc492f..23a9206b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: node_js node_js: - - '8' - - '7' + - 'stable' - '6' env: - CXX=g++-4.8 diff --git a/package.json b/package.json index eef225b77..7e4a7d2d3 100644 --- a/package.json +++ b/package.json @@ -58,17 +58,17 @@ "cross-env": "^5.0.1", "css-loader": "^0.28.4", "enzyme": "^2.9.1", - "eslint": "^4.4.1", - "eslint-config-airbnb": "^15.0.1", - "eslint-config-prettier": "^2.3.0", + "eslint": "^4.7.2", + "eslint-config-airbnb": "^15.1.0", + "eslint-config-prettier": "^2.6.0", "eslint-import-resolver-node": "^0.3.1", - "eslint-loader": "^1.8.0", - "eslint-plugin-css-modules": "^2.7.1", - "eslint-plugin-flowtype": "^2.34.1", - "eslint-plugin-import": "^2.6.1", - "eslint-plugin-jsx-a11y": "^6.0.2", - "eslint-plugin-prettier": "^2.1.2", - "eslint-plugin-react": "^7.0.1", + "eslint-loader": "^1.9.0", + "eslint-plugin-css-modules": "^2.7.5", + "eslint-plugin-flowtype": "^2.36.0", + "eslint-plugin-import": "^2.7.0", + "eslint-plugin-jsx-a11y": "^5.1.1", + "eslint-plugin-prettier": "^2.3.1", + "eslint-plugin-react": "^7.4.0", "file-loader": "^0.11.2", "front-matter": "^2.1.2", "glob": "^7.1.2", @@ -99,7 +99,7 @@ "postcss-pseudoelements": "^5.0.0", "postcss-selector-matches": "^3.0.1", "postcss-selector-not": "^3.0.1", - "prettier": "^1.5.2", + "prettier": "^1.7.2", "raw-loader": "^0.5.1", "react-deep-force-update": "^2.0.1", "react-error-overlay": "^1.0.9", diff --git a/src/client.js b/src/client.js index 971667493..0ad90c591 100644 --- a/src/client.js +++ b/src/client.js @@ -127,9 +127,7 @@ async function onLocationChange(location, action) { } appInstance = ReactDOM.render( - - {route.component} - , + {route.component}, container, () => onRenderComplete(route, location), ); diff --git a/src/components/Html.js b/src/components/Html.js index 1450c5199..24779be59 100644 --- a/src/components/Html.js +++ b/src/components/Html.js @@ -41,22 +41,20 @@ class Html extends React.Component { - - {title} - + {title} - {scripts.map(script => - , - )} + {scripts.map(script => ( + + ))} - {styles.map(style => + {styles.map(style => (