blob: ba66051b5d83f9326051fea736f8d5cd7d2d744b [file] [log] [blame]
# This file allows you to configure the Dart analyzer.
#
# The commented part below is just for inspiration. Read the guide here:
# https://github.com/dart-lang/sdk/tree/master/pkg/analyzer#configuring-the-analyzer
analyzer:
strong-mode: true
# excludes:
# - path/to/excluded/files/**
linter:
rules:
- always_declare_return_types
- camel_case_types
- empty_constructor_bodies
- annotate_overrides
- avoid_init_to_null
- constant_identifier_names
- slash_for_doc_comments
- sort_constructors_first
- unnecessary_brace_in_string_interp