huridocs/uwazi

View on GitHub
app/react/Viewer/components/ConnectionsList.js

Summary

Maintainability
A
0 mins
Test Coverage
C
75%

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

  loading: PropTypes.bool,

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

Prop type "object" is forbidden
Open

  references: PropTypes.object,

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

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

  deactivateReference: PropTypes.func,

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

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

  references: PropTypes.object,

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

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

  closePanel: PropTypes.func,

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

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

  referencesSection: PropTypes.string,

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

Prefer named exports.
Open

export default connect(null, mapDispatchToProps)(ConnectionsList);

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

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

  readOnly: PropTypes.bool,

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

There are no issues that match your filters.

Category
Status