huridocs/uwazi

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

Summary

Maintainability
A
0 mins
Test Coverage
A
92%

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

  connection: PropTypes.object,

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

Prop type "object" is forbidden
Open

  connection: PropTypes.object,

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

Prop type "object" is forbidden
Open

  relationTypes: PropTypes.object,

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

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

  searchResults: PropTypes.object,

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

Definition for rule 'node/no-restricted-import' was not found.
Open

import { bindActionCreators } from 'redux';

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

  containerId: PropTypes.string,

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

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

  onRangedConnect: PropTypes.func,

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

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

  setRelationType: PropTypes.func,

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

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

  setTargetDocument: PropTypes.func,

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

Prop type "object" is forbidden
Open

  searchResults: PropTypes.object,

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

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

  onCreate: PropTypes.func,

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

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

  relationTypes: PropTypes.object,

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

Prop type "object" is forbidden
Open

  uiState: PropTypes.object,

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

Non-interactive elements should not be assigned mouse or keyboard event listeners.
Open

              <li

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

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

  uiState: PropTypes.object,

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

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

  className: PropTypes.string,

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

Prefer named exports.
Open

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

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

There are no issues that match your filters.

Category
Status