leto icon indicating copy to clipboard operation
leto copied to clipboard

Linter warnings for queries without arguments

Open tigloo opened this issue 2 years ago • 1 comments

Auto-generated code may contain linter warnings. Specifically, when writing a query without any arguments, there will be an "unused local variables" linter warning.

Ideally the auto-generated code includes // ignore_for_file: unused_local_variable or it will detect the scenario and change the generated code.

tigloo avatar Dec 20 '23 15:12 tigloo

Thanks for the issue!

Yes that would be great. At the moment one could exclude the generated files from the analyzer.

juancastillo0 avatar Dec 29 '23 18:12 juancastillo0