huridocs/uwazi

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

Summary

Maintainability
A
0 mins
Test Coverage
A
92%

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 const LoadMoreRelationshipsButton = ({

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

Missing an explicit type attribute for button
Open

        <button onClick={actionFunction} className="btn btn-default btn-load-more">

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

Prefer named exports.
Open

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

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

Export statements should appear at the end of the file
Open

export const mapStateToProps = ({ relationships }) => ({

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

There are no issues that match your filters.

Category
Status