leto
leto copied to clipboard
Linter warnings for queries without arguments
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.
Thanks for the issue!
Yes that would be great. At the moment one could exclude the generated files from the analyzer.