packages/babel-plugin-transform-react-constant-elements/src/index.js
Function enter
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
enter(path, state) {
const stop = () => {
state.isImmutable = false;
path.stop();
};
Avoid too many return
statements within this function. Open
Open
return;