Skip to content

Commit a4ece68

Browse files
solid-yuriiprykhodkoIllia Romanenko
andauthored
Disable sort_constructors_first rule, bump version (#4)
* Disable sort_constructors_first rule * Update changelog, bump version to 0.0.5 * Add lines-of-code clarification Co-authored-by: Illia Romanenko <[email protected]>
1 parent 7d6c8a0 commit a4ece68

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.5
2+
3+
- Remove the `sort_constructors_first` rule
4+
15
## 0.0.4
26

37
- Set maximum method length to 200

lib/analysis_options.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ linter:
168168
# - sized_box_shrink_expand
169169
- slash_for_doc_comments
170170
- sort_child_properties_last
171-
- sort_constructors_first
171+
# We tend to use class organization close to standard Java convention, where fields come first.
172+
# Martin, R. C. & Coplien, J. O. (2013), Chapter 10: Classes. Clean code: a handbook of agile software craftsmanship , Prentice Hall , Upper Saddle River, NJ [etc.] . 136
173+
# - sort_constructors_first
172174
- sort_pub_dependencies
173175
- sort_unnamed_constructors_first
174176
- test_types_in_equals

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: solid_lints
22
description: Lints for Dart and Flutter based on software industry standards and best practices.
3-
version: 0.0.4
3+
version: 0.0.5
44
homepage: https://github.com/solid-software/solid_lints/
55

66
environment:

0 commit comments

Comments
 (0)