mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
add a temporary .analysis_options for flutter_tools (#3376)
This commit is contained in:
parent
246a2cb055
commit
325354f6be
18
packages/flutter_tools/.analysis_options
Normal file
18
packages/flutter_tools/.analysis_options
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user