Skip to content

Fix removeIndent complexity in src/parser.js #16

@aneilbaboo

Description

@aneilbaboo

Function removeIndent has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.

https://codeclimate.com/github/aneilbaboo/markdown-components/src/parser.js#issue_5a8d1f98baeec1000100001f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions