File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 11## 1.34.0
22
33- Bump to ` flutter_lints: ^6.0.0 `
4+ - Remove duplicated lints
45
56## 1.33.0
67
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ linter:
5151 - flutter_style_todos
5252 - implicit_reopen
5353 - invalid_case_patterns
54- - invalid_runtime_check_with_js_interop_types
5554 - join_return_with_assignment
5655 - lines_longer_than_80_chars
5756 - literal_only_boolean_expressions
@@ -93,7 +92,6 @@ linter:
9392 - tighten_type_of_initializing_formals
9493 - type_annotate_public_apis
9594 - unawaited_futures
96- - unintended_html_in_doc_comment
9795 - unnecessary_async
9896 - unnecessary_await_in_return
9997 - unnecessary_breaks
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Future<void> diff() async {
1414 ];
1515
1616 final flutterUrls = [
17- 'https://github.com/flutter/packages/blob/master /packages/flutter_lints/lib/flutter.yaml' ,
17+ 'https://github.com/flutter/packages/blob/main /packages/flutter_lints/lib/flutter.yaml' ,
1818 'https://github.com/dart-lang/lints/blob/main/lib/recommended.yaml' ,
1919 'https://github.com/dart-lang/lints/blob/main/lib/core.yaml' ,
2020 ];
@@ -36,14 +36,13 @@ String _formatRules(Set<String> rules) =>
3636 (rules.toList ()..sort ()).map ((rule) => ' - $rule ' ).join ('\n ' );
3737
3838List <String > _toRaws (List <String > urls) => urls.map ((url) {
39- return 'https://raw.githubusercontent.com/${Uri .parse (url ).path .replaceFirst ('blob/' , '' )}' ;
40- }).toList ();
39+ return 'https://raw.githubusercontent.com/${Uri .parse (url ).path .replaceFirst ('blob/' , '' )}' ;
40+ }).toList ();
4141
4242Future <Set <String >> _extractMergedRules (List <String > urls) async {
4343 final rules = (await Future .wait (
4444 urls.map (_extractRules),
45- ))
46- .expand ((rules) => rules);
45+ )).expand ((rules) => rules);
4746 return Set .from (rules);
4847}
4948
You can’t perform that action at this time.
0 commit comments