app/react/Connections/components/SearchForm.js
Prefer named exports. Open
Open
export default connect(mapStateToProps, mapDispatchToProps)(SearchForm);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Export statements should appear at the end of the file Open
Open
export class SearchForm extends Component {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'node/no-restricted-import' was not found. Open
Open
import PropTypes from 'prop-types';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "connectionType" is not required, but has no corresponding defaultProps declaration. Open
Open
connectionType: PropTypes.string,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "search" is not required, but has no corresponding defaultProps declaration. Open
Open
search: PropTypes.func,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "searchTerm" is not required, but has no corresponding defaultProps declaration. Open
Open
searchTerm: PropTypes.string,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/