huridocs/uwazi

View on GitHub
app/react/Templates/components/RemovePropertyConfirm.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

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

  hideModal: PropTypes.func,

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

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

  removeProperty: PropTypes.func,

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

Export statements should appear at the end of the file
Open

export class RemovePropertyConfirm extends Component {

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

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

  propertyBeingDeleted: PropTypes.number,

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

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

  isOpen: 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)(RemovePropertyConfirm);

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

There are no issues that match your filters.

Category
Status