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

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

Prop spreading is forbidden
Open

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

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

Export statements should appear at the end of the file
Open

export class DocumentResults extends Component {

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

Export statements should appear at the end of the file
Open

export class SemanticSearchSidePanel extends Component {

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

onIndexEnter should be placed before getFilteredIndex
Open

  onIndexEnter(_data, index) {
Severity: Minor
Found in app/react/Charts/components/Pie.js by eslint

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

Do not use Array index in keys
Open

              <Cell key={index} fill={filteredColors[index]} opacity={0.8} />
Severity: Minor
Found in app/react/Charts/components/Pie.js by eslint

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

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

  isSourceDocument: PropTypes.bool,

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

Dangerous property 'dangerouslySetInnerHTML' found
Open

          <div dangerouslySetInnerHTML={{ __html: svg }} />

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

A control must be associated with a text label.
Open

          <input className="form-control" onChange={this.onChange} value={value.text} />

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

Imported JSX component custom must be in PascalCase or SCREAMING_SNAKE_CASE
Open

        <Control.custom

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

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

  model: PropTypes.string,

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(<IconSelectorItem {...props} />);

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

Export statements should appear at the end of the file
Open

export function unselectSemanticSearchDocument() {

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

Prop spreading is forbidden
Open

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

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/

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/

Prefer named exports.
Open

export default SearchBox;

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

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

/* eslint-disable max-statements */

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

renderActiveShape should be placed after getFilteredIndex
Open

  renderActiveShape(props) {
Severity: Minor
Found in app/react/Charts/components/Pie.js by eslint

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

Severity
Category
Status
Source
Language