huridocs/uwazi

View on GitHub
app/react/Relationships/components/RelationshipsFormButtons.js

Summary

Maintainability
A
0 mins
Test Coverage
A
90%

Prop type "object" is forbidden
Open

  parentEntity: PropTypes.object,

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

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

  saving: PropTypes.bool,

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

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

  edit: 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 "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

// TEST!!!

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

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

  editing: PropTypes.bool,

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

Prefer named exports.
Open

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

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

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

  save: PropTypes.func,

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

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

  parentEntity: PropTypes.object,

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

There are no issues that match your filters.

Category
Status