huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prefer named exports.
Open

export default connect(null, mapDispatchToProps, null, { withRef: true })(dragSource);

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

Export statements should appear at the end of the file
Open

export class RemovePropertyConfirm extends Component {

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

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

  propertyBeingDeleted: PropTypes.number,

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

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

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

import { renderConnected } from 'app/utils/test/renderConnected';

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

Prop spreading is forbidden
Open

        <ComponentToRender ref={ref => (result = ref)} {...props} />

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

Prop type "object" is forbidden
Open

  router: PropTypes.object,

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

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

import api from 'app/utils/api';
Severity: Minor
Found in app/react/Templates/TemplatesAPI.js by eslint

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

Prefer named exports.
Open

export default message;
Severity: Minor
Found in message.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 countries = require('../../node_modules/world-countries/countries.json');

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

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

import { config } from 'api/config';
Severity: Minor
Found in database/reindex_elastic.js by eslint

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

Prop spreading is forbidden
Open

          {...this.props}
Severity: Minor
Found in app/react/Layout/SearchInput.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 { connect } from 'react-redux';
Severity: Minor
Found in app/react/Layout/Item.js by eslint

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

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

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

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

Prop type "object" is forbidden
Open

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

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

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

  LoadMoreButton: PropTypes.func,
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';
Severity: Minor
Found in app/react/Layout/ConfirmModal.js by eslint

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

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

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

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

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

export const NOTIFY = 'NOTIFY';

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

Severity
Category
Status
Source
Language