huridocs/uwazi

View on GitHub
app/react/Viewer/components/ViewerComponent.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Prop spreading is forbidden
Open

    return entity.get('defaultDoc') ? <PDFView {...this.props} /> : <EntityView {...this.props} />;

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

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

import { Map } from 'immutable';

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

Prop spreading is forbidden
Open

    return entity.get('defaultDoc') ? <PDFView {...this.props} /> : <EntityView {...this.props} />;

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

There are no issues that match your filters.

Category
Status