tunnckoCore/gibon

View on GitHub
@packages/prettier-plugin-pkgjson/src/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function parse has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      parse(text, _, options) {
        let txt = text;

        if (options.filepath && /package\.json$/.test(options.filepath)) {
          txt = sortPackageJson(txt, {
Severity: Major
Found in @packages/prettier-plugin-pkgjson/src/index.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status