huridocs/uwazi

View on GitHub
app/react/Layout/Item.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Export statements should appear at the end of the file
Open

export class Item extends Component {
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prop type "object" is forbidden
Open

  thesauris: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prop type "object" is forbidden
Open

  additionalIcon: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

import { connect } from 'react-redux';
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  additionalMetadata: PropTypes.array,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prop type "object" is forbidden
Open

  doc: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  buttons: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prop type "object" is forbidden
Open

  search: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  itemHeader: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  labels: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prop type "object" is forbidden
Open

  templates: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  additionalText: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prop type "object" is forbidden
Open

  labels: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  className: PropTypes.string,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prop spreading is forbidden
Open

      <RowList.Item {...itemProps}>
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  doc: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prefer named exports.
Open

export default connect(mapStateToProps)(Item);
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  active: PropTypes.bool,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prop type "object" is forbidden
Open

  itemHeader: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  templates: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  onSnippetClick: PropTypes.func,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  additionalIcon: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prop type "object" is forbidden
Open

  buttons: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prop type "array" is forbidden
Open

  additionalMetadata: PropTypes.array,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  thesauris: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  evalPublished: PropTypes.bool,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

There are no issues that match your filters.

Category
Status