huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

A control must be associated with a text label.
Open

          <input />

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 class Modal extends Component {
Severity: Minor
Found in app/react/Layout/Modal.js by eslint

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

Declare only one React component per file
Open

const Footer = ({ children }) => <div className="modal-footer">{children}</div>;
Severity: Minor
Found in app/react/Layout/Modal.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 PropTypes from 'prop-types';
Severity: Minor
Found in app/react/Layout/Thumbnail.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 PropTypes from 'prop-types';
Severity: Minor
Found in app/react/Layout/Warning.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 PropTypes from 'prop-types';
Severity: Minor
Found in app/react/Layout/TemplateLabel.js by eslint

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

Prop spreading is forbidden
Open

          <Notification key={notification.id} {...notification} />

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 api from 'app/utils/api';
Severity: Minor
Found in app/react/Thesauri/ThesauriAPI.js by eslint

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

Prop type "array" is forbidden
Open

  relationTypes: PropTypes.array,

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

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

  relationTypes: PropTypes.array,

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

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

  startNewConnection: PropTypes.func,

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

Prop type "object" is forbidden
Open

  searchResults: PropTypes.object.isRequired,

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

Prefer named exports.
Open

export default {
Severity: Minor
Found in app/react/Entities/EntitiesAPI.js by eslint

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

Prop type "object" is forbidden
Open

  thesauris: PropTypes.object,

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

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

  formKey: PropTypes.string,

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

Export statements should appear at the end of the file
Open

export function mapStateToProps(state, props) {

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

Export statements should appear at the end of the file
Open

export class FormGroup extends Component {

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

Prop type "object" is forbidden
Open

  uiState: PropTypes.object,

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

Severity
Category
Status
Source
Language