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

Custom lint not working on Monorepo #267

Closed
hpelitebook745G2 opened this issue Aug 14, 2024 · 1 comment
Closed

Custom lint not working on Monorepo #267

hpelitebook745G2 opened this issue Aug 14, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hpelitebook745G2
Copy link

Describe the bug
I have a monorepo with a lot of packages, each package is either a Dart or Flutter project. I want to apply my custom lint at the very root so I don't need to tediously update all pubspec.yaml but it's not working.

To Reproduce

I've been reading the issues here but what worked for me is to apply:

dev_dependencies:
  custom_lint: ^0.6.4
  custom_lint_example_lint:
    path: ../example_lint

to each of the packages and I have more than 20. Is it even possible to apply once and analyze all the code in my monorepo? If so, I haven't found any instructions in the README. Please advise.

Expected behavior
Apply once, analyze anywhere

@hpelitebook745G2 hpelitebook745G2 added the bug Something isn't working label Aug 14, 2024
@rrousselGit
Copy link
Collaborator

Sounds like a duplicate of #188

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants