# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml
linter:
rules:
- always_declare_return_types
- avoid_dynamic_calls
- prefer_const_constructors
- prefer_const_declarations
- prefer_single_quotes
- unnecessary_lambdas
- unnecessary_string_interpolations
- use_super_parameters
- sort_child_properties_last
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options