huridocs/uwazi

View on GitHub
app/react/Markdown/components/ItemList.js

Summary

Maintainability
A
0 mins
Test Coverage
B
86%

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

  link: PropTypes.string,

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

Prop type "object" is forbidden
Open

  options: PropTypes.object,

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

Prefer named exports.
Open

export default ItemList;

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

Prop type "array" is forbidden
Open

  items: PropTypes.array,

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

Missing an explicit type attribute for button
Open

              <button className="btn btn-default">{t('System', 'View in library')}</button>

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/

There are no issues that match your filters.

Category
Status