huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prefer named exports.
Open

export default ColoredBar;

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

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

import * as uiActions from '../uiActions';

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/

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

  selected: PropTypes.string,

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

Prefer named exports.
Open

export default combineReducers({

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

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

  relationTypes: PropTypes.object,

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

Prop spreading is forbidden
Open

      result = <SearchBox {...risonDecodeOrIgnore(config)} key={index} />;
Severity: Minor
Found in app/react/Markdown/MarkdownViewer.js by eslint

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 { combineReducers } from 'redux';

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

Prop spreading is forbidden
Open

      <ListChartComponent {...props} property="prop1" classname="custom-class" context="tContext" />

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 connect(mapStateToProps)(CounterComponent);

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

Prefer named exports.
Open

export default (_markdown, callback, withHtml = false) => {

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

Prefer named exports.
Open

export default connect(null, mapDispatchToProps)(ContactForm);

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

getData should be placed after componentDidMount
Open

  getData() {

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

Prop type "array" is forbidden
Open

  children: PropTypes.array,

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

Prop type "array" is forbidden
Open

  buttons: PropTypes.array,

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

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

import { Link } from 'react-router-dom';

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

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

const objectPath = (path, object) =>
Severity: Minor
Found in app/react/Markdown/utils.js by eslint

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

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

/* eslint-disable import/no-mutable-exports, global-require, prefer-destructuring */
Severity: Minor
Found in app/react/PDF/PDFJS.js by eslint

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

Severity
Category
Status
Source
Language