Lint: enforce always_use_package_imports rule

This commit is contained in:
Neeraj Gupta 2021-10-30 11:23:01 +05:30
parent 3239ba3644
commit ffebccf003
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -26,6 +26,7 @@ linter:
- use_rethrow_when_possible
- prefer_double_quotes
- directives_ordering
- always_use_package_imports
analyzer:
errors:
@ -33,6 +34,7 @@ analyzer:
exhaustive_cases: error
curly_braces_in_flow_control_structures: error
directives_ordering: error
always_use_package_imports: error
unused_import: warning
prefer_is_empty: warning
use_rethrow_when_possible: info