Permalink
Browse files

Allow PropTypes object

  • Loading branch information...
jeremybarbet committed Aug 6, 2017
1 parent d328878 commit d1c506cad7328bd6776d63a88bcc4105e2ec1d52
Showing with 8 additions and 7 deletions.
  1. +1 −0 .eslintrc
  2. +1 −1 sources/detailBlock/Graph.js
  3. +2 −2 sources/detailBlock/Stats.js
  4. +2 −2 sources/detailView/index.js
  5. +2 −2 sources/listItem/index.js
View
@@ -33,6 +33,7 @@
"consistent-return": 0,
"no-confusing-arrow": 0,
"no-underscore-dangle": 0,
"react/forbid-prop-types": ["error", { "forbid": ["any"] }],
"react/require-extension": 0,
"import/no-named-as-default": 0,
"import/no-extraneous-dependencies": 0
@@ -6,7 +6,7 @@ import style from './style';
export default class Graph extends Component {
static propTypes = {
// data: PropTypes.object, // eslint-disable-line
// data: PropTypes.object,
};
render() {
@@ -14,8 +14,8 @@ import style from './style';
export default class Stats extends Component {
static propTypes = {
data: PropTypes.object, // eslint-disable-line
history: PropTypes.object, // eslint-disable-line
data: PropTypes.object,
history: PropTypes.object,
network: PropTypes.string,
};
@@ -23,12 +23,12 @@ export default class DetailView extends Component {
static propTypes = {
network: PropTypes.string,
data: PropTypes.object, // eslint-disable-line
data: PropTypes.object,
sync: PropTypes.oneOfType([
PropTypes.number,
PropTypes.string,
]),
history: PropTypes.object, // eslint-disable-line
history: PropTypes.object,
}
state = {
@@ -16,12 +16,12 @@ export default class ListItem extends Component {
static propTypes = {
network: PropTypes.string,
data: PropTypes.object, // eslint-disable-line
data: PropTypes.object,
sync: PropTypes.oneOfType([
PropTypes.number,
PropTypes.string,
]),
history: PropTypes.object, // eslint-disable-line
history: PropTypes.object,
title: PropTypes.string,
description: PropTypes.string,
}

0 comments on commit d1c506c

Please sign in to comment.