Hello, I am trying to migrate by backstage plugin into the Backstage/community-plugins repository using this. I'm running into an error when I'm committing the files. This is what I'm currently getting:
⚠ Running tasks for staged files...
❯ workspaces/acs/package.json — 67 files
❯ *.{js,jsx,ts,tsx,mjs,cjs} — 37 files
✖ eslint --fix [FAILED]
◼ prettier --write
✔ *.{json,md} — 14 files
↓ Skipped because of errors from tasks.
✔ Reverting to original state because of errors...
✔ Cleaning up temporary files...
✖ eslint --fix:
Oops! Something went wrong! :(
ESLint: 8.57.1
Error: Command failed: yarn add @backstage/plugin-catalog-react@^1.13.0
Occurred while linting /home/mknop/repos/community-plugins/workspaces/acs/plugins/acs/src/components/ACSComponent/ACSComponent.tsx:16
Rule: "@backstage/no-undeclared-imports"
at checkExecSyncError (node:child_process:890:11)
at execFileSync (node:child_process:926:15)
at addMissingImports (/home/mknop/repos/community-plugins/workspaces/acs/node_modules/@backstage/eslint-plugin/rules/no-undeclared-imports.js:189:5)
at Program:exit (/home/mknop/repos/community-plugins/workspaces/acs/node_modules/@backstage/eslint-plugin/rules/no-undeclared-imports.js:320:11)
at ruleErrorHandler (/home/mknop/repos/community-plugins/workspaces/acs/node_modules/eslint/lib/linter/linter.js:1076:28)
at /home/mknop/repos/community-plugins/workspaces/acs/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/home/mknop/repos/community-plugins/workspaces/acs/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/home/mknop/repos/community-plugins/workspaces/acs/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
What am I doing wrong here that this wont work? The plugin works using the old repository that I was housing this in. It's in a Backstage monorepo.