huridocs/uwazi

View on GitHub
app/react/SemanticSearch/components/DocumentResults.js

Summary

Maintainability
A
0 mins
Test Coverage
B
87%

Export statements should appear at the end of the file
Open

export class DocumentResults extends Component {

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/

Prop type "array" is forbidden
Open

      results: PropTypes.array,

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

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

/* eslint-disable no-restricted-globals */

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

Prop type "object" is forbidden
Open

    icon: PropTypes.object,

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

Prefer named exports.
Open

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

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

There are no issues that match your filters.

Category
Status