huridocs/uwazi

View on GitHub
app/react/App/Confirm.js

Summary

Maintainability
A
0 mins
Test Coverage
A
96%

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

  cancel: PropTypes.func,
Severity: Minor
Found in app/react/App/Confirm.js by eslint

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

A control must be associated with a text label.
Open

        <input type="text" onChange={this.handleInput} value={this.state.confirmInputValue} />
Severity: Minor
Found in app/react/App/Confirm.js by eslint

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';
Severity: Minor
Found in app/react/App/Confirm.js by eslint

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

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

  accept: PropTypes.func,
Severity: Minor
Found in app/react/App/Confirm.js by eslint

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

Prefer named exports.
Open

export default Confirm;
Severity: Minor
Found in app/react/App/Confirm.js by eslint

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

There are no issues that match your filters.

Category
Status