π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
include: package:flutter_lints/flutter.yaml
linter:
rules:
- avoid_print
- avoid_unnecessary_containers
- avoid_web_libraries_in_flutter
- no_logic_in_create_state
- prefer_const_constructors
- prefer_const_constructors_in_immutables
- prefer_const_declarations
- prefer_const_literals_to_create_immutables
- require_trailing_commas
- sized_box_for_whitespace
- use_full_hex_values_for_flutter_colors
- use_key_in_widget_constructors
- avoid_empty_else
- exhaustive_cases
- sort_pub_dependencies
- use_rethrow_when_possible
- directives_ordering
- always_use_package_imports
- unawaited_futures
analyzer:
errors:
avoid_empty_else: error
exhaustive_cases: error
curly_braces_in_flow_control_structures: error
directives_ordering: error
always_use_package_imports: error
prefer_final_fields: error
unused_import: error
prefer_is_empty: warning
use_rethrow_when_possible: info
require_trailing_commas: error
prefer_const_constructors: warning
prefer_const_declarations: warning
prefer_const_constructors_in_immutables: ignore # too many warnings
unawaited_futures: warning # convert to warning after fixing existing issues
avoid_renaming_method_parameters: ignore # incorrect warnings for `equals` overrides
use_build_context_synchronously: error
exclude:
- lib/src/rust/**
- thirdparty/**
- flutter/**
- build/**
- android/**
- ios/**
- web/**
- windows/**
- macos/**
- linux/**