huridocs/uwazi

View on GitHub
app/react/Metadata/components/MetadataFormButtons.js

Summary

Maintainability
A
0 mins
Test Coverage
B
81%

Prop type "object" is forbidden
Open

  templates: PropTypes.object.isRequired,

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

Prop type "object" is forbidden
Open

  data: PropTypes.object.isRequired,

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

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

  exclusivelyViewButton: PropTypes.bool,

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/

Prefer named exports.
Open

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

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

There are no issues that match your filters.

Category
Status