fbredius/storybook

View on GitHub
lib/codemod/src/transforms/add-component-parameters.js

Summary

Maintainability
A
1 hr
Test Coverage

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

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

  //  Create a dictionary whose keys are all the named imports in the file.
Severity: Minor
Found in lib/codemod/src/transforms/add-component-parameters.js - About 1 hr to fix

    Parsing error: The keyword 'export' is reserved
    Open

    export default function transformer(file, api) {

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

    There are no issues that match your filters.

    Category
    Status