Skip to content

Commit c77dbc0

Browse files
Disable diagnostic_describe_all_properties rule (#10)
* Remove diagnostic_describe_all_properties rule * Update changelog * Add cyclomatic-complexity bug note
1 parent 6ad014f commit c77dbc0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 0.0.9
22

3+
- Remove `diagnostic_describe_all_properties` rule
34
- Disable cyclomatic complexity metric for tests
45

56
## 0.0.8

lib/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ linter:
128128
- curly_braces_in_flow_control_structures
129129
- depend_on_referenced_packages
130130
- deprecated_consistency
131-
- diagnostic_describe_all_properties
131+
# - diagnostic_describe_all_properties
132132
- directives_ordering
133133
- do_not_use_environment
134134
- empty_catches

lib/analysis_options_test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ dart_code_metrics:
1414
# Since we're not using the source-lines-of-code rule, `main()` function in test can
1515
# have high cyclomatic complexity.
1616
# For rationale against splitting up `main()` in tests, see `source-lines-of-code` comments.
17+
# Also there is a bug in metric calculation: https://github.com/dart-code-checker/dart-code-metrics/issues/663
1718
cyclomatic-complexity: false
1819

1920
rules:

0 commit comments

Comments
 (0)