Skip to content
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

Linter warnings for queries without arguments #19

Open
tigloo opened this issue Dec 20, 2023 · 1 comment
Open

Linter warnings for queries without arguments #19

tigloo opened this issue Dec 20, 2023 · 1 comment

Comments

@tigloo
Copy link

tigloo commented Dec 20, 2023

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 tigloo changed the title Disable linter warnings for auto-generated code Linter warnings for queries without arguments Dec 20, 2023
@juancastillo0
Copy link
Owner

Thanks for the issue!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants