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] Some linter issues #49
Comments
@bounty1342 What version of I'll take a deeper look into this. In the meantime you can update analyzer:
exclude: lib/i18n.dart |
Hi, Thanks you for looking into this. Regards |
There is also this one : "avoid_escaping_inner_quotes". |
|
@bounty1342 Using the package's example, I cannot reproduce these warnings. bugfix/linter-issues Can you provide a minimal reproducible example? |
Hi @defuncart, Concerning the linting exclusion, there is an open issue since 2016 : dart-lang/linter#320 Pedantic define only a subset of the linting rules : If you could just add the one below to //ignore_for_file: it will avoid lint errors for those without breaking anything :)
So if I understand correctly change the line in FlappyTranslator/lib/src/services/code_generation/template.dart : Regards |
@bounty1342 Thanks for the detailed MRE. Can you test if this fix solves this issue for you? flappy_translator:
git:
url: https://github.com/smartnsoft/FlappyTranslator
ref: bugfix/linter-issues |
Hi, Thanks, it does fix the linting issues. Thank you. |
@bounty1342 I've pushed pre-release 2.0.0-nullsafety.2. Let me know if you spot another other issues. |
Ignore or fix :
sort_constructors_first
always_specify_types
Fix :
prefer_const_constructors
Regards
The text was updated successfully, but these errors were encountered: