huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

'data' PropType is defined but prop is never used
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/

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

  return <Rectangle {...props} stroke="none" fill={colorPallete[index % colorScheme.length]} />;

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/Pie.js by eslint

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

Prefer named exports.
Open

export default FormGroup;

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

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

import { APIURL } from 'app/config.js';

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

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

  model: PropTypes.string,

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

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

  deleteAttachment: PropTypes.func,

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

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

  renameAttachment: PropTypes.func,

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

Prop type "object" is forbidden
Open

  progress: PropTypes.object,

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

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

  storeKey: PropTypes.string,

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

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

import { fromJS as Immutable } from 'immutable';

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

Prefer named exports.
Open

export default DateRange;

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

Prop type "any" is forbidden
Open

  model: PropTypes.any,

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

Export statements should appear at the end of the file
Open

export default class Geolocation extends Component {

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

Prefer named exports.
Open

export default class Geolocation extends Component {

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

JSX props should not use .bind()
Open

            onClick={this.onIndexClick.bind(this)}
Severity: Minor
Found in app/react/Charts/components/Pie.js by eslint

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/

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

  progress: PropTypes.object,

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

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

/* eslint-disable max-classes-per-file */
Severity: Minor
Found in app/react/Forms/Form.js by eslint

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

Severity
Category
Status
Source
Language