huridocs/uwazi

View on GitHub
app/react/Relationships/components/AddEntities.js

Summary

Maintainability
A
0 mins
Test Coverage
F
15%

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

  searchResults: PropTypes.object,

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/

Prefer named exports.
Open

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

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

Prop type "object" is forbidden
Open

  searchResults: PropTypes.object,

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 "rightRelationshipIndex" is not required, but has no corresponding defaultProps declaration.
Open

  rightRelationshipIndex: PropTypes.number,

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/

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

  hubIndex: PropTypes.number,

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

There are no issues that match your filters.

Category
Status