Browse Source

Add analysis options

Ben Hagen 6 năm trước cách đây
mục cha
commit
bdb0278b57
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      analysis_options.yaml

+ 2 - 0
analysis_options.yaml

@@ -10,6 +10,8 @@ linter:
     - hash_and_equals
     - hash_and_equals
     - iterable_contains_unrelated_type
     - iterable_contains_unrelated_type
     - list_remove_unrelated_type
     - list_remove_unrelated_type
+    - sort_constructors_first
     - test_types_in_equals
     - test_types_in_equals
+    - unnecessary_new
     - unrelated_type_equality_checks
     - unrelated_type_equality_checks
     - valid_regexps
     - valid_regexps