huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prefer named exports.
Open

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

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/

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 Immutable from 'immutable';
Severity: Minor
Found in app/react/App/specs/Menu.spec.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

/** @format */

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

Prefer named exports.
Open

export default {
Severity: Minor
Found in app/react/Documents/DocumentsAPI.js by eslint

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

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

  removeFromToc: PropTypes.func,

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

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

/* eslint-disable react/no-multi-comp */

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

Prop type "object" is forbidden
Open

  snippets: PropTypes.object,

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

    return entity.get('defaultDoc') ? <PDFView {...this.props} /> : <EntityView {...this.props} />;

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

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

  loadTargetDocument: PropTypes.func,

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/

Export statements should appear at the end of the file
Open

export class Doc extends Component {
Severity: Minor
Found in app/react/Library/components/Doc.js by eslint

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

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

  doc: PropTypes.object,
Severity: Minor
Found in app/react/Library/components/Doc.js by eslint

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 { t, Translate } from 'app/I18N';

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

Prefer named exports.
Open

export default connect(mapStateToProps)(LibraryModeToggleButtons);

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

Prefer named exports.
Open

export default NestedFilter;

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

Severity
Category
Status
Source
Language