huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prop spreading is forbidden
Open

    return entity.get('defaultDoc') ? <PDFView {...this.props} /> : <EntityView {...this.props} />;

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

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

/* eslint-disable max-lines */

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

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

  sidepanelTab: PropTypes.string,

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

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

  showTextSelectMenu: PropTypes.bool,

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

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

import PropTypes from 'prop-types';

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

Prop type "object" is forbidden
Open

  doc: PropTypes.object,

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

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

  reference: PropTypes.object,

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

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

  referenceState: PropTypes.bool,

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 docState;
Severity: Minor
Found in app/react/Library/docState.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 { store } from 'app/store';

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

Prop type "object" is forbidden
Open

  searchParams: PropTypes.object,
Severity: Minor
Found in app/react/Library/components/Doc.js by eslint

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

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

  searchParams: PropTypes.object,
Severity: Minor
Found in app/react/Library/components/Doc.js by eslint

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

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

  onClick: PropTypes.func,
Severity: Minor
Found in app/react/Library/components/Doc.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

                {...commonProps}

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

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

import { Field } from 'react-redux-form';

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

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

import PropTypes from 'prop-types';

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

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

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

Severity
Category
Status
Source
Language