Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: src/lib/controller/index.ts #1481

Closed
btlghrants opened this issue Nov 22, 2024 · 0 comments · Fixed by #1486
Closed

refactor: src/lib/controller/index.ts #1481

btlghrants opened this issue Nov 22, 2024 · 0 comments · Fixed by #1486
Assignees
Milestone

Comments

@btlghrants
Copy link
Collaborator

Describe what should be investigated or refactored

Refactor of src/lib/controller/index.ts to reduce complexity warnings:

src/lib/controller/index.ts
   40:3   warning  Constructor has too many parameters (5). Maximum allowed is 4                           max-params
  201:12  warning  Async arrow function has too many statements (28). Maximum allowed is 20    max-statements
  201:12  warning  Async arrow function has a complexity of 12. Maximum allowed is 10                 complexity

Additional context

In support of #1248

@btlghrants btlghrants moved this from 🆕 New to 🏗 In progress in Pepr Project Board Nov 22, 2024
@btlghrants btlghrants self-assigned this Nov 22, 2024
@btlghrants btlghrants added this to the v0.41.0 milestone Nov 22, 2024
@btlghrants btlghrants moved this from 🏗 In progress to 👀 In review in Pepr Project Board Nov 25, 2024
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Pepr Project Board Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
1 participant