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

Multiple instances of vite-plugin-checker (one for the frontend and one for the backend) #274

Open
3 tasks done
ponahoum opened this issue Aug 24, 2023 · 1 comment
Open
3 tasks done

Comments

@ponahoum
Copy link

ponahoum commented Aug 24, 2023

Is your feature request related to a problem? Please describe.

We have a monorepo with a /frontend and /backend folder. Of course, vite-plugin-checker is installed and setup within /frontend.
I'd like to have multiple instances of vue checker to have both my frontend and backend lint errors to show when opening my web browser. This would be extremely valuable for my project development approach, which is fullstack

Describe the solution you'd like

Either:

  • Support multiple instances (and therefore multiple badges) of vite-plugin-checker
    or
  • Support multiple eslint as an argument that each point to a different folder (ie: backend and frontend)

Describe alternatives you've considered

I've tried using the concurrent package to run both eslint commands as well as the && operator (to run eslint command twice, one for each folder) but it fails for some obscure reason. I feel like the eslint argument is parsed in a way that doesn't allow to put any kind of command in the "lintCommand" option.

Additional context

No response

Validations

  • Read the docs.
  • Read the Contributing Guidelines.
  • Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
@ponahoum ponahoum changed the title Multiple instances of vue checker (one for the frontend and one for the backend) Multiple instances of vite-plugin-checker (one for the frontend and one for the backend) Aug 24, 2023
@jaerod95
Copy link

+1 To this, I also would like to be able to run multiple instances of the typescript checker to typecheck two different builds needed for running a figma plugin. I noticed there were some changes in the proposed 0.7 release, would those changes make this possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants