fbredius/storybook

View on GitHub
lib/codemod/src/transforms/csf-hoist-story-annotations.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function transformer has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function transformer(file, api) {
  const j = api.jscodeshift;
  const root = j(file.source);

  const renameKey = (exp) =>
Severity: Major
Found in lib/codemod/src/transforms/csf-hoist-story-annotations.js - About 2 hrs to fix

    Parsing error: The keyword 'const' is reserved
    Open

    const getContainingStatement = (n) => {

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

    There are no issues that match your filters.

    Category
    Status