huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prefer named exports.
Open

export default TextFilter;

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

Prefer named exports.
Open

export default storeKey =>

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

Prefer named exports.
Open

export default Alert;

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 { isClient } from 'app/utils';
Severity: Minor
Found in app/react/App/LoadingProgressBar.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/App/ModalTips.js by eslint

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

Do not use Array index in keys
Open

      <link key={key} href={style} rel="stylesheet" type="text/css" />
Severity: Minor
Found in app/react/App/Root.js by eslint

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

Dangerous property 'dangerouslySetInnerHTML' found
Open

      dangerouslySetInnerHTML={{ __html: reduxData.settings.collection.get('customCSS') }}
Severity: Minor
Found in app/react/App/Root.js by eslint

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

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

  selectedConnectionMetadata: PropTypes.object,

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/

A control must be associated with a text label.
Open

          <input

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

Prop spreading is forbidden
Open

            filter = <DateFilter {...commonProps} format={dateFormat} />;

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/

Anchor used as a button. Anchors are primarily expected to navigate. Use the button element instead. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
Open

      <a href="#" className={`search-button btn ${activeClass}`} onClick={toggle}>

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/

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

  status: PropTypes.string,

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

Prefer named exports.
Open

export default connect(mapStateToProps, mapDispatchToProps)(ViewDocButton);

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/

Anchor used as a button. Anchors are primarily expected to navigate. Use the button element instead. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
Open

            <a onClick={this.hide} className="alert-close">

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

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

  type: PropTypes.string,

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

Severity
Category
Status
Source
Language