зеркало из https://github.com/mozilla/treeherder.git
Bug 1513576 - Fix/enable ESLint 'react/default-props-match-prop-types' (#4368)
https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/default-props-match-prop-types.md
This commit is contained in:
Родитель
4f15efe3ec
Коммит
bf7b05389e
|
@ -43,7 +43,6 @@ module.exports = {
|
|||
'no-underscore-dangle': 'off',
|
||||
'prefer-promise-reject-errors': 'off',
|
||||
'react/button-has-type': 'off',
|
||||
'react/default-props-match-prop-types': 'off',
|
||||
'react/destructuring-assignment': 'off',
|
||||
'react/forbid-prop-types': 'off',
|
||||
'react/no-access-state-in-setstate': 'off',
|
||||
|
|
|
@ -92,7 +92,6 @@ const BugDetailsView = props => {
|
|||
{...props}
|
||||
graphOneData={graphOneData}
|
||||
graphTwoData={graphTwoData}
|
||||
dateOptions
|
||||
header={
|
||||
<React.Fragment>
|
||||
<Row>
|
||||
|
|
|
@ -77,7 +77,5 @@ Graph.propTypes = {
|
|||
};
|
||||
|
||||
Graph.defaultProps = {
|
||||
graphOneData: null,
|
||||
graphTwoData: null,
|
||||
data: null,
|
||||
};
|
||||
|
|
|
@ -118,7 +118,6 @@ Layout.propTypes = {
|
|||
Layout.defaultProps = {
|
||||
graphOneData: null,
|
||||
graphTwoData: null,
|
||||
dateOptions: null,
|
||||
tableFailureStatus: null,
|
||||
graphFailureStatus: null,
|
||||
isFetchingTable: null,
|
||||
|
|
|
@ -255,6 +255,7 @@ TabsPanel.propTypes = {
|
|||
clearSelectedJob: PropTypes.func.isRequired,
|
||||
perfJobDetail: PropTypes.array,
|
||||
suggestions: PropTypes.array,
|
||||
selectedJob: PropTypes.object,
|
||||
jobRevision: PropTypes.string,
|
||||
errors: PropTypes.array,
|
||||
bugSuggestionsLoading: PropTypes.bool,
|
||||
|
|
Загрузка…
Ссылка в новой задаче