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';

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

Prefer named exports.
Open

export default class NumericRange extends Component {

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

A control must be associated with a text label.
Open

        <option value={max} />

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

Prop spreading is forbidden
Open

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

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

Export statements should appear at the end of the file
Open

export const ResultsFiltersPanel = ({ open, filtersValues }) => {

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

Prop type "array" is forbidden
Open

    query: PropTypes.shape({ filters: PropTypes.object, types: PropTypes.array }),

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

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

JSX props should not use .bind()
Open

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

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

Prop spreading is forbidden
Open

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

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/

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

  hasError: PropTypes.bool,

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

Prefer named exports.
Open

export default connect()(FormGroup);

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

Export statements should appear at the end of the file
Open

export default class LinkField extends Component {

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

JSX props should not use .bind()
Open

                    onChange={this.fromChange.bind(this, index)}

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

JSX props should not use .bind()
Open

                    onChange={this.onChange.bind(this, prop)}

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,

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

Prefer named exports.
Open

export default class Select extends Component {
Severity: Minor
Found in app/react/Forms/components/Select.js by eslint

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

Prop spreading is forbidden
Open

    const component = shallow(<FormValue {...props}>{value => <span>{value}</span>}</FormValue>);

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/

Severity
Category
Status
Source
Language