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 PropTypes from 'prop-types';
Severity: Minor
Found in app/react/Layout/Modal.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';
Severity: Minor
Found in app/react/Templates/EditTemplate.js by eslint

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

Declare only one React component per file
Open

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

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

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

/* eslint-disable max-lines */

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

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

  template: PropTypes.string,
Severity: Minor
Found in app/react/Layout/TemplateLabel.js by eslint

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

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

const path = require('path');
Severity: Minor
Found in webpack/config.js by eslint

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

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

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

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

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

/* eslint-disable max-lines */
Severity: Minor
Found in app/react/Layout/DocumentsList.js by eslint

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

propType "search" is not required, but has no corresponding defaultProps declaration.
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 "searchDocuments" is not required, but has no corresponding defaultProps declaration.
Open

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

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

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

  scrollCount: PropTypes.number,
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 React from 'react';

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

Prefer named exports.
Open

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

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

Prefer named exports.
Open

export default function (reducer, reducerKey) {

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

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

import { APIURL } from 'app/config.js';

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

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

  touched: PropTypes.bool,

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/

A control must be associated with a text label.
Open

      <input id={`test${model}`} type="checkbox" />{' '}

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

Prop spreading is forbidden
Open

        <DNDComponent {...props} />

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

Prop spreading is forbidden
Open

            <Target {...targetProps} {...actions} />

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

Severity
Category
Status
Source
Language