huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prefer named exports.
Open

export default dynamicTemplates;

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

Declare only one React component per file
Open

const ItemLabel = ({ children, status }) => {
Severity: Minor
Found in app/react/Layout/Lists.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/DocumentLanguage.js by eslint

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

Prefer named exports.
Open

export default connect(mapStateToProps)(DocumentLanguage);
Severity: Minor
Found in app/react/Layout/DocumentLanguage.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 Item extends Component {
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

  thesauris: PropTypes.object,
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

  additionalIcon: PropTypes.object,
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

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

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

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

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

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

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

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

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

Prefer named exports.
Open

export default connect(null, mapDispatchToProps)(Notification);

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/ContextMenu/actions/actionTypes';

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

Prefer named exports.
Open

export default connect(mapStateToProps)(MarkersComponent);
Severity: Minor
Found in app/react/Map/Markers.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/Map/specs/Markers.spec.js by eslint

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

Prefer named exports.
Open

export default function wrapDispatch(dispatch, reducerKey) {

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/Entities/actions/actionTypes';

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

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

  connectionsChanged: PropTypes.func,

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

Export statements should appear at the end of the file
Open

export class ShowSidepanelMenu extends Component {

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

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

  type: PropTypes.string,

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

Prefer named exports.
Open

export default PropertyConfigOption;

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

Severity
Category
Status
Source
Language