huridocs/uwazi

View on GitHub
app/react/Library/components/ViewDocButton.js

Summary

Maintainability
A
0 mins
Test Coverage
A
92%

Definition for rule 'node/no-restricted-import' was not found.
Open

/** @format */

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

Prop type "object" is forbidden
Open

  file: PropTypes.object,

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

Prefer named exports.
Open

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

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

Export statements should appear at the end of the file
Open

export class ViewDocButton extends Component {

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

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

  file: PropTypes.object,

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

There are no issues that match your filters.

Category
Status