File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,25 @@ include: package:flutter_lints/flutter.yaml
2
2
3
3
# Additional information about this file can be found at
4
4
# https://dart.dev/guides/language/analysis-options
5
+
6
+ linter :
7
+ rules :
8
+ # Documentation
9
+ public_member_api_docs : true
10
+
11
+ # Performance
12
+ avoid_print : true
13
+ prefer_const_constructors : true
14
+ prefer_const_declarations : true
15
+
16
+ # Style
17
+ prefer_final_locals : true
18
+ prefer_single_quotes : true
19
+
20
+ # Safety
21
+ avoid_dynamic_calls : true
22
+ avoid_type_to_string : true
23
+
24
+ # Library specific
25
+ library_private_types_in_public_api : true
26
+ missing_whitespace_between_adjacent_strings : true
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ environment:
10
10
dependencies :
11
11
flutter :
12
12
sdk : flutter
13
- meta : ^1.16 .0
13
+ meta : ^1.12 .0
14
14
15
15
dev_dependencies :
16
16
flutter_test :
17
17
sdk : flutter
18
- flutter_lints : ^3 .0.0
18
+ flutter_lints : ^4 .0.0
19
19
20
20
# For information on the generic Dart part of this file, see the
21
21
# following page: https://dart.dev/tools/pub/pubspec
You can’t perform that action at this time.
0 commit comments