huridocs/uwazi

View on GitHub
app/react/Viewer/components/TargetDocumentHeader.js

Summary

Maintainability
A
0 mins
Test Coverage
A
94%

Prop type "object" is forbidden
Open

  reference: PropTypes.object,

For more information visit Source: http://eslint.org/docs/rules/

propType "reference" is not required, but has no corresponding defaultProps declaration.
Open

  reference: PropTypes.object,

For more information visit Source: http://eslint.org/docs/rules/

propType "connection" is not required, but has no corresponding defaultProps declaration.
Open

  connection: PropTypes.object,

For more information visit Source: http://eslint.org/docs/rules/

Prop type "object" is forbidden
Open

  uiState: PropTypes.object,

For more information visit Source: http://eslint.org/docs/rules/

Prop type "object" is forbidden
Open

  connection: PropTypes.object,

For more information visit Source: http://eslint.org/docs/rules/

propType "saveTargetRangedReference" is not required, but has no corresponding defaultProps declaration.
Open

  saveTargetRangedReference: PropTypes.func,

For more information visit Source: http://eslint.org/docs/rules/

propType "toggleReferences" is not required, but has no corresponding defaultProps declaration.
Open

  toggleReferences: PropTypes.func,

For more information visit Source: http://eslint.org/docs/rules/

propType "targetDocument" is not required, but has no corresponding defaultProps declaration.
Open

  targetDocument: PropTypes.string,

For more information visit Source: http://eslint.org/docs/rules/

propType "cancelTargetDocument" is not required, but has no corresponding defaultProps declaration.
Open

  cancelTargetDocument: PropTypes.func,

For more information visit Source: http://eslint.org/docs/rules/

Prefer named exports.
Open

export default connect(mapStateToProps, mapDispatchToProps)(TargetDocumentHeader);

For more information visit Source: http://eslint.org/docs/rules/

Definition for rule 'node/no-restricted-import' was not found.
Open

import PropTypes from 'prop-types';

For more information visit Source: http://eslint.org/docs/rules/

propType "addReference" is not required, but has no corresponding defaultProps declaration.
Open

  addReference: PropTypes.func,

For more information visit Source: http://eslint.org/docs/rules/

propType "uiState" is not required, but has no corresponding defaultProps declaration.
Open

  uiState: PropTypes.object,

For more information visit Source: http://eslint.org/docs/rules/

There are no issues that match your filters.

Category
Status