-
-
Notifications
You must be signed in to change notification settings - Fork 974
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
Add some additional lints #1569
Conversation
Nice! The CI seem to be failing though |
I've added hot-reload support to the linter for local testing / debugging, a lot easier than using the |
Sure. Although I honestly don't quite understand what you meant |
This is the relevant code and generalization to support fast debugging |
Let's squash and merge this. I'm continuing work on it, but I want to let others contribute, and this is in a good state as it is. The CI build is failing for the same reason the build is failing on the master branch. |
@@ -0,0 +1,3 @@ | |||
analyzer: | |||
# plugins: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why add custom_lint to disable it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah wait since you're based on my branch, that could be me.
@@ -45,6 +45,9 @@ class Repository { | |||
'hash': hash, | |||
}, | |||
); | |||
if (result.data == null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
Migrated a few deprecated analyzer apis. Handle dependencies for constructor tearoffs and assignment of ref to objects using cascades.
Still not handling escape of ref via functions. Will work on that next.