Brett Sutton

Results 138 comments of Brett Sutton

Just wasted a couple of hours on this one due to the misleading information. I was trying to diagnose a problem with an earlier line so wasn't concerned with the...

Not certain this is the right lint but... I have another unwaited scenario that the current lints miss. Essentially you can pass an async callback to a function that expects...

@eernstg so do i need to raise this as a separate issue or is the not here sufficient to get it actioned? This is a significant problem which I managed...

file@incendial It doesn't look like the lint helped. I updated my analysis_options.xml to: ```yaml include: package:lint_hard/all.yaml linter: rules: avoid-passing-async-when-sync-expected: true ``` Ran pub get. No additional errors were displayed. Edit:...

Ahh. This is a fundamental problem so really belongs in the core lints. On Mon, 28 Nov 2022, 7:10 pm Dmitry Zhifarsky, ***@***.***> wrote: > @bsutton this rule is not...

@incendial Understood and appreciated the thought. The primary aim of my post was to help with the task of dart plugging all the holes where a user can accidentally drop...

As long as this still generates a warning: ``` var imageData = PlatformImageFetcher.getImage(); ``` then I would agree with Brett Morgan. On Tue, Jan 17, 2023 at 2:04 PM Brett...

My first statement would be that, regardless of the checked vs unchecked debate, documentation on what exceptions an api throws would help improve code quality and make the life of...

I would want to document internal method but can understand that might not be everyone's preference (but I still get to think they are wrong:)