huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

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/

Declare only one React component per file
Open

const Title = ({ children }) => <h4 className="modal-title">{children}</h4>;
Severity: Minor
Found in app/react/Layout/Modal.js by eslint

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

Prefer named exports.
Open

export default function modals(state = initialState, action = {}) {

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

Declare only one React component per file
Open

const ItemName = ({ children }) => (
Severity: Minor
Found in app/react/Layout/Lists.js by eslint

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

Declare only one React component per file
Open

const RowList = ({ children, zoomLevel = 0 }) => (
Severity: Minor
Found in app/react/Layout/Lists.js by eslint

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

Declare only one React component per file
Open

const RowListItem = ({
Severity: Minor
Found in app/react/Layout/Lists.js by eslint

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

Export statements should appear at the end of the file
Open

export class DocumentLanguage extends Component {
Severity: Minor
Found in app/react/Layout/DocumentLanguage.js by eslint

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

Prop type "object" is forbidden
Open

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

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

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

  additionalText: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

Prop spreading is forbidden
Open

            {...{
Severity: Minor
Found in app/react/Layout/DocumentsList.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/

Prop spreading is forbidden
Open

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

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 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 * as actions from 'app/ContextMenu/actions/contextMenuActions';

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

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

import wrapDispatch from '../wrapDispatch';

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

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

const _mergeArrays = (first, second) => {
Severity: Minor
Found in app/react/Map/helper.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 createReducer from 'app/BasicReducer';

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

/* eslint-disable max-nested-callbacks */

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

Severity
Category
Status
Source
Language