huridocs/uwazi

View on GitHub

Showing 3,439 of 3,635 total issues

Prefer named exports.
Open

export default MultiDateRange;

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

Export statements should appear at the end of the file
Open

export default class Nested extends Component {
Severity: Minor
Found in app/react/Forms/components/Nested.js by eslint

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

Prop type "object" is forbidden
Open

  data: PropTypes.arrayOf(PropTypes.object),

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

Prefer named exports.
Open

export default combineReducers({
Severity: Minor
Found in app/react/reducer.js by eslint

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

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

  parentSharedId: PropTypes.string,

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

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

  readOnly: PropTypes.bool,

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

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

  beingEdited: PropTypes.bool,

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 React, { Component } from 'react';

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

Use callback in setState when referencing the previous state.
Open

    const values = this.state.values.slice();

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

JSX props should not use .bind()
Open

              onClick={this.resetFilter.bind(this)}

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

Export statements should appear at the end of the file
Open

export default class NumericRange extends Component {

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

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

  model: PropTypes.string,

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/

A control must be associated with a text label.
Open

          <input

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 React from 'react';

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

Prop spreading is forbidden
Open

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

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

Export statements should appear at the end of the file
Open

export function editSearchEntities(searchId, args) {

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

Prefer named exports.
Open

export default class SemanticSearchResultsView extends RouteHandler {

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

Severity
Category
Status
Source
Language