jtassin/react-amount-field

View on GitHub

Showing 2 of 19 total issues

Function render has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const ExampleForm = function render(props) {
const {
handleSubmit,
resolvedValue,
resolvedVisited,
Severity: Minor
Found in examples/src/ReduxFormExample.jsx - About 1 hr to fix

    Function mapStateToProps has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
    Open

    function mapStateToProps(state) {
    let resolvedValue = null;
    let resolvedVisited = false;
    let resolvedTouched = false;
    let resolvedActive = false;
    Severity: Minor
    Found in examples/src/ReduxFormExample.jsx - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language