Linter
This commit is contained in:
parent
72fe7d4ea5
commit
56cb9657b7
|
|
@ -44,6 +44,7 @@ linter:
|
||||||
rules:
|
rules:
|
||||||
# - prefer_const_literals_to_create_immutables
|
# - prefer_const_literals_to_create_immutables
|
||||||
# - avoid_classes_with_only_static_members
|
# - avoid_classes_with_only_static_members
|
||||||
|
# - avoid_function_literals_in_foreach_calls
|
||||||
# these rules are documented on and in the same order as
|
# these rules are documented on and in the same order as
|
||||||
# the Dart Lint rules page to make maintenance easier
|
# the Dart Lint rules page to make maintenance easier
|
||||||
# https://github.com/dart-lang/linter/blob/master/example/all.yaml
|
# https://github.com/dart-lang/linter/blob/master/example/all.yaml
|
||||||
|
|
@ -61,7 +62,6 @@ linter:
|
||||||
# - avoid_double_and_int_checks # only useful when targeting JS runtime
|
# - avoid_double_and_int_checks # only useful when targeting JS runtime
|
||||||
- avoid_empty_else
|
- avoid_empty_else
|
||||||
- avoid_field_initializers_in_const_classes
|
- avoid_field_initializers_in_const_classes
|
||||||
- avoid_function_literals_in_foreach_calls
|
|
||||||
- avoid_init_to_null
|
- avoid_init_to_null
|
||||||
# - avoid_js_rounded_ints # only useful when targeting JS runtime
|
# - avoid_js_rounded_ints # only useful when targeting JS runtime
|
||||||
- avoid_null_checks_in_equality_operators
|
- avoid_null_checks_in_equality_operators
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue