diff --git a/.eslintrc b/.eslintrc index f4fdfb7..8edd7ed 100644 --- a/.eslintrc +++ b/.eslintrc @@ -10,6 +10,7 @@ "react/jsx-filename-extension": [0], "react/prefer-es6-class": [0], "react/prefer-stateless-function": [0], + "react/forbid-prop-types": [0], /* to allow importing 'gatsby-helpers' */ "import/no-extraneous-dependencies": [0], "import/no-unresolved": [0], diff --git a/pages/_template.jsx b/pages/_template.jsx index d1f7432..8f13fce 100644 --- a/pages/_template.jsx +++ b/pages/_template.jsx @@ -1,28 +1,23 @@ -import React from 'react' -import { Link } from 'react-router' -import { prefixLink } from 'gatsby-helpers' -import { config } from 'config' +import React from 'react'; -import '../static/css/reset.css' -import '../static/css/typography.css' -import '../static/css/base.css' +import '../static/css/reset.css'; +import '../static/css/typography.css'; +import '../static/css/base.css'; class Template extends React.Component { - render() { - const {location, children} = this.props + render() { + const { children } = this.props; - return ( -