huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

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

  connection: PropTypes.object,

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

Prefer named exports.
Open

export default {
Severity: Minor
Found in app/react/Viewer/utils/Marker.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 configureMockStore from 'redux-mock-store';

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

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

  panelIsOpen: PropTypes.bool,

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

Prop spreading is forbidden
Open

    component = shallow(<ConnectedViewer.WrappedComponent {...props} />, {

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

Prop type "object" is forbidden
Open

  reference: PropTypes.object.isRequired,

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

Prefer named exports.
Open

export default connect(mapStateToProps, mapDispatchToProps)(withContext(Connection));

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

Prop type "object" is forbidden
Open

  doc: PropTypes.object,

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

Prefer named exports.
Open

export default createReducer('locale', '');
Severity: Minor
Found in app/react/I18N/reducer.js by eslint

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

Prefer named exports.
Open

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

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) {

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';
Severity: Minor
Found in app/react/Auth/reducer.js by eslint

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

Prefer named exports.
Open

export default fontawesomeIcons;
Severity: Minor
Found in app/react/utils/fontawesomeIcons.js by eslint

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

Prop type "object" is forbidden
Open

  group: PropTypes.object,

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

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

  view: PropTypes.string,

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/Viewer/referencesAPI.js by eslint

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

Prop spreading is forbidden
Open

        <ViewerComponent {...this.props} />
Severity: Minor
Found in app/react/Viewer/ViewerRoute.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 { omit } from 'lodash';

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/

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/

Severity
Category
Status
Source
Language