25 lines
628 B
YAML
25 lines
628 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
linter:
|
|
rules:
|
|
avoid_print: true
|
|
prefer_final_locals: true
|
|
prefer_final_in_for_each: true
|
|
sort_pub_dependencies: true
|
|
always_use_package_imports: true
|
|
always_declare_return_types: true
|
|
prefer_single_quotes: true
|
|
sort_child_properties_last: true
|
|
unawaited_futures: true
|
|
unsafe_html: true
|
|
non_constant_identifier_names: false # seems to wrongly diagnose static const variables
|
|
|
|
analyzer:
|
|
errors:
|
|
todo: ignore
|
|
exclude:
|
|
- example/main.dart
|
|
# needed until crypto packages upgrade
|
|
- lib/src/database/database.g.dart
|
|
plugins:
|