packages/codemod/src/transformations/antd4-to-antd5.ts
Function updateActionButtonsPropstoHeaderButtons
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const updateActionButtonsPropstoHeaderButtons = (
j: JSCodeshift,
root: Collection<any>,
) => {
const components = ["Show", "Edit", "List", "Create"];