packages/babel-plugin-transform-react-constant-elements/src/index.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function enter has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    enter(path, state) {
      const stop = () => {
        state.isImmutable = false;
        path.stop();
      };

    Avoid too many return statements within this function.
    Open

                return;
    Severity: Major
    Found in packages/babel-plugin-transform-react-constant-elements/src/index.js - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status