huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

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

import PropTypes from 'prop-types';
Severity: Minor
Found in app/react/PDF/components/PDFPage.js by eslint

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

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

  data: PropTypes.array,
Severity: Minor
Found in app/react/Charts/components/Bar.js by eslint

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

Prop type "object" is forbidden
Open

  payload: PropTypes.arrayOf(PropTypes.object),

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

Prefer named exports.
Open

export default connect()(LibraryChartComponent);

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

Prop type "object" is forbidden
Open

  templates: 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 from 'react';

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

Prop spreading is forbidden
Open

          {...props}

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

Prop spreading is forbidden
Open

    const component = shallow(<PieChartComponent {...props} property="prop2" />);

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

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

/**

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

  options: PropTypes.object,

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

Export statements should appear at the end of the file
Open

export const MapComponent = props => {
Severity: Minor
Found in app/react/Markdown/components/Map.js by eslint

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

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

  initialIndex: PropTypes.number,

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

'title' PropType is defined but prop is never used
Open

  title: PropTypes.string,

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

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

  chartLabel: PropTypes.string,
Severity: Minor
Found in app/react/Charts/components/Bar.js by eslint

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

Prop type "array" is forbidden
Open

  data: PropTypes.array,
Severity: Minor
Found in app/react/Charts/components/Bar.js by eslint

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/

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

  templates: PropTypes.object,

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

Prefer named exports.
Open

export default connect(mapStateToProps, mapDispatchToProps)(ActionButton);

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

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

  containerId: PropTypes.string,

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

Severity
Category
Status
Source
Language