huridocs/uwazi

View on GitHub
app/react/Attachments/components/AttachmentsList.js

Summary

Maintainability
A
0 mins
Test Coverage
A
92%

Prop type "object" is forbidden
Open

  entity: PropTypes.object,

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

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

import React, { Component } from 'react';

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

Prop type "object" is forbidden
Open

  attachments: PropTypes.arrayOf(PropTypes.object),

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

Prefer named exports.
Open

export default AttachmentsList;

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

Do not use Array index in keys
Open

              key={index}

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

There are no issues that match your filters.

Category
Status