huridocs/uwazi

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

Summary

Maintainability
A
0 mins
Test Coverage
F
14%

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

  search: PropTypes.func,

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/

Export statements should appear at the end of the file
Open

export class SearchEntitiesForm extends Component {

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

'connectionType' PropType is defined but prop is never used
Open

  connectionType: PropTypes.string,

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

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

  searchTerm: PropTypes.string,

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

Prefer named exports.
Open

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

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

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

  connectionType: PropTypes.string,

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

There are no issues that match your filters.

Category
Status