huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prop spreading is forbidden
Open

    component = shallow(<UploadAttachment {...props} />);

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

Prop type "object" is forbidden
Open

  languages: PropTypes.object,

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

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

import Immutable from 'immutable';

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

Prefer named exports.
Open

export default class IconSelector extends Component {

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

Prop spreading is forbidden
Open

        {...this.props}

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

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

  onChange: PropTypes.func,
Severity: Minor
Found in app/react/Forms/components/Nested.js by eslint

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

Prop type "array" is forbidden
Open

  value: PropTypes.array,
Severity: Minor
Found in app/react/Forms/components/Nested.js by eslint

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

Prefer named exports.
Open

export default class Numeric extends Component {

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

Prefer named exports.
Open

export default class NumericRangeSlide extends Component {

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

Expected 1 empty line after import statement not followed by another import.
Open

import { t } from 'app/I18N';
Severity: Minor
Found in app/react/Forms/components/Select.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/

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 type "array" is forbidden
Open

    documents: PropTypes.array,

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

Prop spreading is forbidden
Open

  const render = () => shallow(<SemanticSearchSidePanel {...getProps()} />);

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

Prop spreading is forbidden
Open

    component = shallow(<ExtendedTooltip {...props} />);

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

Prop spreading is forbidden
Open

    const tree = shallow(<StackedDualBarChart {...props} />);

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

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

/** @format */
Severity: Minor
Found in app/react/reducer.js by eslint

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

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

export const START_UPLOAD_ATTACHMENT = 'START_UPLOAD_ATTACHMENT';

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

Prop type "object" is forbidden
Open

  file: PropTypes.object,

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/

Severity
Category
Status
Source
Language