huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prefer named exports.
Open

export default {
Severity: Minor
Found in app/react/Viewer/referencesAPI.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 { fromJS as Immutable } from 'immutable';

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 React, { Component } from 'react';
Severity: Minor
Found in app/react/Viewer/EntityView.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,

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 { bindActionCreators } from 'redux';

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

Export statements should appear at the end of the file
Open

export const mapStateToProps = state => {

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

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

  deleteReference: PropTypes.func,

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

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

  cancelTargetDocument: PropTypes.func,

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

Prefer named exports.
Open

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

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

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

/* eslint-disable react/jsx-props-no-spreading */

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

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

import { connect } from 'react-redux';

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

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

export const SET_DOCUMENTS = 'SET_DOCUMENTS';

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 connect(state => ({
Severity: Minor
Found in app/react/Library/LibraryLayout.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';

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 * as types from 'app/Viewer/actions/actionTypes';

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

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

import * as types from 'app/Viewer/actions/actionTypes';

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

Severity
Category
Status
Source
Language