refactor: fixing linting error in pages/_template.jsx

adds react/forbid-prop-types to be ignored in eslintrc
could be added in an additional refactoring round
right now, I'm not sure what to choose as proptypes...
This commit is contained in:
Simon Reinsperger
2017-03-08 17:08:19 +01:00
parent b683c5d7e3
commit a1cee07124
3 changed files with 17 additions and 21 deletions

View File

@@ -28,7 +28,7 @@ class MarkdownWrapper extends React.Component {
}
MarkdownWrapper.propTypes = {
route: React.PropTypes.object, // eslint-disable-line react/forbid-prop-types
route: React.PropTypes.object,
};
export default MarkdownWrapper;