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

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 IconSelectorItem extends Component {

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

Prefer named exports.
Open

export default class Nested extends Component {
Severity: Minor
Found in app/react/Forms/components/Nested.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';

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

Prefer named exports.
Open

export default class NestedMultiselect extends Component {

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

Use callback in setState when referencing the previous state.
Open

    const values = { ...this.state.values, [key]: optionsSelected };

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

Export statements should appear at the end of the file
Open

export default class Numeric extends Component {

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/

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/

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/

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/

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

  file: PropTypes.object,

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

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

  storeKey: PropTypes.string,

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

Prefer named exports.
Open

export default connect()(AttachmentForm);

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

Prefer named exports.
Open

export default class IconSelectorItem extends Component {

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

Missing an explicit type attribute for button
Open

        <button className="btn btn-success add" onClick={this.add.bind(this)}>

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

Export statements should appear at the end of the file
Open

export default class NestedMultiselect extends Component {

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

Severity
Category
Status
Source
Language