add a temporary .analysis_options for flutter_tools (#3376)

This commit is contained in:
Devon Carew
2016-04-18 09:50:19 -07:00
parent 246a2cb055
commit 325354f6be

View File

@@ -0,0 +1,18 @@
# A temporary file to do some validation in the flutter_tools project. This will
# go away once we unify `flutter analyze` and analysis server based products.
analyzer:
language:
enableStrictCallChecks: true
enableSuperMixins: true
errors:
todo: ignore
linter:
rules:
- avoid_empty_else
- always_declare_return_types
- always_specify_types
- annotate_overrides
- sort_unnamed_constructors_first
- unnecessary_brace_in_string_interp
- unnecessary_getters_setters