huridocs/uwazi

View on GitHub
app/react/Connections/components/SearchForm.js

Summary

Maintainability
A
0 mins
Test Coverage
D
60%

Prefer named exports.
Open

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

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

Export statements should appear at the end of the file
Open

export class SearchForm extends Component {

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

  connectionType: PropTypes.string,

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

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/

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/

There are no issues that match your filters.

Category
Status