huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prop spreading is forbidden
Open

            <Source {...sourceProps} />

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

Prefer named exports.
Open

export default {
Severity: Minor
Found in app/react/Templates/TemplatesAPI.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 { t } from 'app/I18N';

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

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

export default {

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

Prefer named exports.
Open

export default properties;

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

Prefer named exports.
Open

export default properties;

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

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

import { CSVLoader } from 'api/csv';
Severity: Minor
Found in database/import_csv.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 React from 'react';

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

Missing an explicit type attribute for button
Open

        {this.state.show && <button onClick={this.hide}>{this.props.hideLabel}</button>}
Severity: Minor
Found in app/react/Layout/ToggleDisplay.js by eslint

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

Prop type "object" is forbidden
Open

  itemHeader: PropTypes.object,
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

  filters: PropTypes.object,
Severity: Minor
Found in app/react/Layout/DocumentsList.js by eslint

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

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

  search: PropTypes.object,
Severity: Minor
Found in app/react/Layout/DocumentsList.js by eslint

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

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

  clickOnDocument: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
Severity: Minor
Found in app/react/Layout/DocumentsList.js by eslint

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

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

  children: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
Severity: Minor
Found in app/react/Layout/SidePanel.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/

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/

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

  className: PropTypes.string,

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

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

  openMenu: PropTypes.func,

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

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

//DATA

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

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

//UI

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

Severity
Category
Status
Source
Language