lib/codemod/src/transforms/add-component-parameters.js
Function transformer
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
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.
Parsing error: The keyword 'export' is reserved Open
Open
export default function transformer(file, api) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/