Skip to content

Commit 0f359fd

Browse files
committed
Adhere to DCM 1.14.0
1 parent c973323 commit 0f359fd

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

packages/netglade_analysis/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 8.0.0
2+
- Adhere to DCM 1.14.0:
3+
- Add avoid-empty-test-groups
4+
- Add avoid-not-encodable-in-to-json
5+
- Add avoid-contradictory-expressions
6+
- Add avoid-excessive-expressions
7+
18
## 7.0.0
29
- Adhere to DCM 1.13.0:
310
- Add avoid-duplicate-collection-elements

packages/netglade_analysis/lib/dcm.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# version 1.13.0 - https://dcm.dev/changelog/
1+
# version 1.14.0 - https://dcm.dev/changelog/
22
dart_code_metrics:
33
rules:
44
### Common
@@ -17,6 +17,7 @@ dart_code_metrics:
1717
- avoid-collapsible-if
1818
- avoid-collection-methods-with-unrelated-types
1919
# - avoid-collection-mutating-methods # sometimes it's ok
20+
- avoid-contradictory-expressions
2021
- avoid-declaring-call-method
2122
- avoid-double-slash-imports
2223
- avoid-duplicate-cascades
@@ -30,7 +31,9 @@ dart_code_metrics:
3031
- avoid-duplicate-switch-case-conditions
3132
- avoid-duplicate-test-assertions
3233
- avoid-dynamic
34+
- avoid-empty-test-groups
3335
- avoid-equal-expressions
36+
- avoid-excessive-expressions
3437
- avoid-explicit-pattern-field-name
3538
# - avoid-explicit-type-declaration # public API
3639
- avoid-extensions-on-records
@@ -76,6 +79,7 @@ dart_code_metrics:
7679
skip-checked-fields: true
7780
exclude:
7881
- test/**
82+
- avoid-not-encodable-in-to-json
7983
- avoid-nullable-interpolation
8084
- avoid-nullable-parameters-with-default-values
8185
- avoid-nullable-tostring

packages/netglade_analysis/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: netglade_analysis
2-
version: 7.0.0
2+
version: 8.0.0
33
description: Lint rules for Dart and Flutter used internally at netglade.
44
repository: https://github.com/netglade/flutter_core/tree/main/packages/netglade_analysis
55
issue_tracker: https://github.com/netglade/flutter_core/issues

0 commit comments

Comments
 (0)