Skip to content

Commit 906f92b

Browse files
author
Illia Romanenko
committed
Updated Readme
1 parent 797d63e commit 906f92b

File tree

5 files changed

+23
-20
lines changed

5 files changed

+23
-20
lines changed

.idea/libraries/Dart_Packages.xml

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.3
2+
3+
- Configure rules based on Flutter 2.5 (Dart 2.14.4)
4+
15
## 0.0.2
26

37
- Updated readme

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Add dependency in your pubspec.yaml:
99

1010
```yaml
1111
dev_dependencies:
12-
solid_lints: any
12+
solid_lints: any
1313
```
1414
15-
And then include `solid_lints` analysis options configuration:
15+
And then include `solid_lints` into your project top-level `analysis_options.yaml`:
1616

1717
```yaml
1818
include: package:solid_lints/analysis_options.yaml

lib/analysis_options.yaml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ linter:
4848
- avoid_empty_else
4949
- avoid_escaping_inner_quotes
5050
- avoid_field_initializers_in_const_classes
51-
- avoid_final_parameters
51+
# available in later releases
52+
# - avoid_final_parameters
5253
- avoid_function_literals_in_foreach_calls
5354
- avoid_implementing_value_types
5455
- avoid_init_to_null
@@ -76,7 +77,8 @@ linter:
7677
- cancel_subscriptions
7778
- close_sinks
7879
- comment_references
79-
- conditional_uri_does_not_exist
80+
# available in later releases
81+
# - conditional_uri_does_not_exist
8082
- constant_identifier_names
8183
- control_flow_in_finally
8284
- curly_braces_in_flow_control_structures
@@ -104,8 +106,9 @@ linter:
104106
- literal_only_boolean_expressions
105107
- no_adjacent_strings_in_list
106108
- no_duplicate_case_values
107-
- no_leading_underscores_for_library_prefixes
108-
- no_leading_underscores_for_local_identifiers
109+
# available in later releases
110+
# - no_leading_underscores_for_library_prefixes
111+
# - no_leading_underscores_for_local_identifiers
109112
- no_logic_in_create_state
110113
- no_runtimeType_toString
111114
- non_constant_identifier_names
@@ -124,7 +127,9 @@ linter:
124127
- prefer_constructors_over_static_methods
125128
- prefer_contains
126129
- prefer_equal_for_default_values
127-
- prefer_expression_function_bodies
130+
# Not used, as the default app template has a single statement return code generated.
131+
# We are unaware of any substantial evidence that improves code when using expression function body vs single statement return.
132+
# - prefer_expression_function_bodies
128133
- prefer_final_fields
129134
- prefer_final_in_for_each
130135
- prefer_final_locals
@@ -149,9 +154,11 @@ linter:
149154
- public_member_api_docs
150155
- recursive_getters
151156
- require_trailing_commas
152-
- secure_pubspec_urls
157+
# available in later releases
158+
# - secure_pubspec_urls
153159
- sized_box_for_whitespace
154-
- sized_box_shrink_expand
160+
# available in later releases
161+
# - sized_box_shrink_expand
155162
- slash_for_doc_comments
156163
- sort_child_properties_last
157164
- sort_constructors_first
@@ -182,7 +189,8 @@ linter:
182189
- unrelated_type_equality_checks
183190
- unsafe_html
184191
- use_build_context_synchronously
185-
- use_decorated_box
192+
# available in later releases
193+
# - use_decorated_box
186194
- use_full_hex_values_for_flutter_colors
187195
- use_function_type_syntax_for_parameters
188196
- use_is_even_rather_than_modulo

pubspec.yaml

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

66
environment:
77
sdk: '>=2.14.4 <3.0.0'
88

99
dependencies:
1010
dart_code_metrics: ^4.8.0
11-
lints: ^1.0.0
1211

0 commit comments

Comments
 (0)