huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prop type "object" is forbidden
Open

  property: PropTypes.object.isRequired,

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

/**

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

Prefer named exports.
Open

export default function blankState() {

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

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

import libraryHelper from 'app/Library/helpers/libraryFilters';

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';
Severity: Minor
Found in app/react/Library/LibraryTable.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, { Component } from 'react';
Severity: Minor
Found in app/react/Library/components/Doc.js by eslint

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

Prop type "array" is forbidden
Open

  properties: PropTypes.array.isRequired,

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

Export statements should appear at the end of the file
Open

export function mapStateToProps(state, props) {

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

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/

Prop spreading is forbidden
Open

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

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(<ViewDocButton {...props} />);

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/

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

/** @format */

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

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

  cancel: PropTypes.func,
Severity: Minor
Found in app/react/App/Confirm.js by eslint

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

Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations
Open

                <a href="https://huridocs.org/" target="_blank">
Severity: Minor
Found in app/react/App/Footer.js by eslint

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

Prefer named exports.
Open

export default class ModalTips extends Component {
Severity: Minor
Found in app/react/App/ModalTips.js by eslint

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

Prop type "object" is forbidden
Open

  assets: PropTypes.object,
Severity: Minor
Found in app/react/App/Root.js by eslint

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

Severity
Category
Status
Source
Language