huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prop spreading is forbidden
Open

    component = shallow(<PDF {...props} />);

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

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

export default [

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/

Prop spreading is forbidden
Open

  return <Rectangle {...props} stroke="none" fill={colorScheme[index % colorScheme.length]} />;
Severity: Minor
Found in app/react/Charts/components/Bar.js by eslint

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

Prop spreading is forbidden
Open

    const component = shallow(<Counter.WrappedComponent {...props} />);

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/

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/

Prop spreading is forbidden
Open

  Link: props => <a {...props} href={props.to} />,

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

Prop spreading is forbidden
Open

    const component = shallow(<ValueComponent {...{ ...props, ...mappedProps }} />);

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

Prefer named exports.
Open

export default React.createContext('');

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 type "array" is forbidden
Open

  items: PropTypes.array,

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/

Prop type "array" is forbidden
Open

  payload: PropTypes.array,
Severity: Minor
Found in app/react/Charts/components/Bar.js by eslint

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

Missing an explicit type attribute for button
Open

      <button className={className} onClick={this.assignType(type)}>

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

Prefer named exports.
Open

export default Repeat;

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,

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

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

  translationContext: 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 RechartsPie extends Component {
Severity: Minor
Found in app/react/Charts/components/Pie.js by eslint

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

Prop type "object" is forbidden
Open

  uiState: PropTypes.object,

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

Severity
Category
Status
Source
Language