huridocs/uwazi

View on GitHub
app/react/ContextMenu/components/ContextMenu.js

Summary

Maintainability
A
0 mins
Test Coverage
A
92%

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

  open: PropTypes.bool,

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/

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

  children: childrenType,

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

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

  show: PropTypes.bool,

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

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

  closeMenu: PropTypes.func,

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/

'className' PropType is defined but prop is never used
Open

  className: PropTypes.string,

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

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

  openMenu: PropTypes.func,

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

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

  type: PropTypes.string,

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

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

  overrideShow: PropTypes.bool,

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

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

  align: PropTypes.string,

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

Prefer named exports.
Open

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

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

There are no issues that match your filters.

Category
Status