huridocs/uwazi

View on GitHub
app/react/Forms/components/NumericRangeSlide.js

Summary

Maintainability
A
0 mins
Test Coverage
B
80%

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/

Export statements should appear at the end of the file
Open

export default class NumericRangeSlide extends Component {

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

A control must be associated with a text label.
Open

        <option value={max} />

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

A control must be associated with a text label.
Open

        <option value={min} />

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

Prefer named exports.
Open

export default class NumericRangeSlide extends Component {

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

A control must be associated with a text label.
Open

            options.push(<option key={i} value={i.toFixed(2)} />);

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

There are no issues that match your filters.

Category
Status