-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Bugfix/add custom_lint_core dependency and import it #90
Conversation
Does it work now? |
Yes, it works now :) I tested it with a However, it works for me only if I temporarily comment out some packages in my pubspec.yaml (in my case they are
The Note: The issue I just brought up is not introduced by this PR. It was already present before. |
Since it is actually a separate issue I opened #91 and we can continue the conversation there. |
Hey there, rm pubspec.lock
flutter clean
flutter pub get
dart run custom_lint Before doing this delete the |
I just tried by cloning your current
Also, the language server detects the problem anyway: Which is the same error pub.dev detects. This PR will definitely fix this bug. |
The
|
So, I don't know why you are not experiencing the conflict, but there definitely is one. There is probably an even better way to solve this: let's change the import in the lint files from:
to
This way we can remove the extra dependency and the extra import. I'll soon create another commit and push it. |
I still don't know why the issue doesn't happen in my machine, maybe I have something cached. |
dart run custom_lint
does not run successfully due to import collision of theanalyzer
andcustom_lint_core
packages. They both have aLintCode
class, but only thecustom_lint_core
is the one thatsolidart_lint
directly uses.You can also see the package doesn't pass the static analysis at the moment (https://pub.dev/packages/solidart_lint/score).