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';

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

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

  doc: PropTypes.object,

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

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

  targetDocument: PropTypes.string,

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

Export statements should appear at the end of the file
Open

export class ViewerDefaultMenu extends Component {

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

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

  targetDoc: PropTypes.bool,

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

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

  pageText: PropTypes.string,

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

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

  addReference: PropTypes.func,

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

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

  startNewConnection: PropTypes.func,

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

Prefer named exports.
Open

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

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

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

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

  authorized: PropTypes.bool,
Severity: Minor
Found in app/react/Library/components/Doc.js by eslint

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

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

  storeKey: PropTypes.string,
Severity: Minor
Found in app/react/Library/components/Doc.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';

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

Prefer named exports.
Open

export default connect(mapStateToProps, mapDispatchToProps)(withRouter(FiltersForm));

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

Export statements should appear at the end of the file
Open

export class SearchButton extends Component {

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

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

  metadataPanelIsOpen: PropTypes.bool,

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

Prefer named exports.
Open

export default connect(mapStateToProps)(I18N);
Severity: Minor
Found in app/react/I18N/components/I18N.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 connect(mapStateToProps, mapDispatchToProps)(TranslateForm);

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

Prefer named exports.
Open

export default {

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

Severity
Category
Status
Source
Language