huridocs/uwazi

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

Summary

Maintainability
A
0 mins
Test Coverage
F
14%

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

  startNewConnection: PropTypes.func,

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

Prefer named exports.
Open

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

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

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

  doc: PropTypes.object,

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

Prop type "object" is forbidden
Open

  file: PropTypes.object.isRequired,

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/

Prop type "object" is forbidden
Open

  doc: PropTypes.object,

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

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

  reference: PropTypes.object,

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

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

  referenceState: PropTypes.bool,

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

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

  active: PropTypes.bool,

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

Prop type "object" is forbidden
Open

  reference: PropTypes.object,

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

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

  toggleReferences: PropTypes.func,

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

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

  openPanel: PropTypes.func,

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

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

  addToToc: PropTypes.func,

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

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

  hasRelationTypes: PropTypes.bool,

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

There are no issues that match your filters.

Category
Status