huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Use callback in setState when referencing the previous state.
Open

    const values = this.state.values.slice();

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

JSX props should not use .bind()
Open

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

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

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

  value: PropTypes.array,

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

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

  format: PropTypes.string,

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

A control must be associated with a text label.
Open

                    <input

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

Export statements should appear at the end of the file
Open

export default class RadioButtons extends Component {

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/Forms/components/Select.js by eslint

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

Export statements should appear at the end of the file
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/

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

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

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

Prop spreading is forbidden
Open

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

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

Prefer named exports.
Open

export default {

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

Export statements should appear at the end of the file
Open

export function fetchSearches() {

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, { Component } from 'react';

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

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

  addSearchResults: PropTypes.func.isRequired,

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

Prop spreading is forbidden
Open

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

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

Prop spreading is forbidden
Open

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

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, { Component } from 'react';

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

Severity
Category
Status
Source
Language