huridocs/uwazi

View on GitHub
app/react/Charts/components/LibraryChart.js

Summary

Maintainability
A
0 mins
Test Coverage
A
95%

Prefer named exports.
Open

export default connect()(LibraryChartComponent);

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

Prop type "object" is forbidden
Open

  options: PropTypes.arrayOf(PropTypes.object),

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

Export statements should appear at the end of the file
Open

export class LibraryChartComponent extends Component {

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/

Missing an explicit type attribute for button
Open

      <button className={className} onClick={this.assignType(type)}>

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

There are no issues that match your filters.

Category
Status