huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

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

  locale: PropTypes.string,

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/

Prop type "object" is forbidden
Open

  params: PropTypes.object,

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

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

import { actions } from 'app/BasicReducer';

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

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

import { bindActionCreators } from 'redux';

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

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

  connectionsGroups: PropTypes.object,

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

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

/** @format */

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

Prefer named exports.
Open

export default connect(mapStateToProps, mapDispatchToProps)(withRouter(withContext(EntityViewer)));

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

A control must be associated with a text label.
Open

          <input id={`prioritySorting${index}`} type="checkbox" />

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

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

  index: PropTypes.number,

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

A control must be associated with a text label.
Open

            <input className="form-control" />

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

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

  submitFailed: PropTypes.bool,

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

Export statements should appear at the end of the file
Open

export class FormConfigRelationship extends Component {

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

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

  htmlFor: PropTypes.string,

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

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

  uiState: PropTypes.object,

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

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

  query: PropTypes.array,

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

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

  disabled: PropTypes.bool,

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

Prop spreading is forbidden
Open

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

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

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

import { Field } from 'react-redux-form';

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

Prop spreading is forbidden
Open

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

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

Severity
Category
Status
Source
Language