File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed
Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1+ ## 1.5.0
2+
3+ - Enforce three new lint rules:
4+ - [ ` avoid_shadowing_type_parameters ` ] ,
5+ - [ ` empty_constructor_bodies ` ] ,
6+ - [ ` slash_for_doc_comments ` ] - Violations can be cleaned up with
7+ [ the formatter] 's ` --fix-doc-comments ` flag.
8+
9+ [ `avoid_shadowing_type_parameters` ] : http://dart-lang.github.io/linter/lints/avoid_shadowing_type_parameters.html
10+ [ `empty_constructor_bodies` ] : http://dart-lang.github.io/linter/lints/empty_constructor_bodies.html
11+ [ `slash_for_doc_comments` ] : http://dart-lang.github.io/linter/lints/slash_for_doc_comments.html
12+ [ the formatter ] : https://github.com/dart-lang/dart_style#style-fixes
13+
114## 1.4.0
215
316- Enforce ` avoid_init_to_null ` and ` null_closures ` .
Original file line number Diff line number Diff line change @@ -11,15 +11,18 @@ linter:
1111 - avoid_init_to_null
1212 - avoid_relative_lib_imports
1313 - avoid_return_types_on_setters
14+ - avoid_shadowing_type_parameters
1415 - avoid_types_as_parameter_names
16+ - empty_constructor_bodies
1517 - no_duplicate_case_values
1618 - null_closures
1719 - prefer_contains
1820 - prefer_equal_for_default_values
1921 - prefer_is_empty
2022 - prefer_is_not_empty
2123 - recursive_getters
24+ - slash_for_doc_comments
25+ - unawaited_futures
2226 - unrelated_type_equality_checks
2327 - use_rethrow_when_possible
24- - unawaited_futures
2528 - valid_regexps
Original file line number Diff line number Diff line change 11name : pedantic
2- version : 1.4 .0
2+ version : 1.5 .0
33description : How to get the most value from Dart static analysis.
44author : Dart Team <misc@dartlang.org>
55homepage : https://github.com/dart-lang/pedantic
66
77environment :
8- sdk : ' >=2.0.0 <3.0.0'
8+ sdk : ' >=2.1.1-dev. 0.0 <3.0.0'
You can’t perform that action at this time.
0 commit comments