Skip to content

Commit 5f3d94e

Browse files
committed
Fix
1 parent e577f6f commit 5f3d94e

File tree

4 files changed

+21
-15
lines changed

4 files changed

+21
-15
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 4.1.0
2+
- Temporarily remove (its WIP and not recognized):
3+
- no_wildcard_variable_uses
4+
- no_self_assignments
5+
- Remove no-equal-arguments
6+
17
## 4.0.0
28
- Adhere to DCM 1.8.0:
39
- Add prefer-custom-finder-over-find

lib/dcm.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -153,18 +153,18 @@ dart_code_metrics:
153153
- no-boolean-literal-compare:
154154
allow-false: true # allows `variable == false` instead of just `!variable`
155155
- no-empty-block
156-
- no-equal-arguments:
157-
ignored-parameters:
158-
- height
159-
- width
160-
- top
161-
- right
162-
- bottom
163-
- left
164-
- topLeft
165-
- topRight
166-
- bottomLeft
167-
- bottomRight
156+
# - no-equal-arguments: # TODO: hard to set up so it makes sense
157+
# ignored-parameters:
158+
# - height
159+
# - width
160+
# - top
161+
# - right
162+
# - bottom
163+
# - left
164+
# - topLeft
165+
# - topRight
166+
# - bottomLeft
167+
# - bottomRight
168168
- no-equal-conditions
169169
- no-equal-nested-conditions
170170
- no-equal-switch-case

lib/lints.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ linter:
4545
- no_adjacent_strings_in_list
4646
- no_duplicate_case_values
4747
- no_logic_in_create_state
48-
- no_self_assignments
49-
- no_wildcard_variable_uses
48+
# - no_self_assignments WIP
49+
# - no_wildcard_variable_uses WIP
5050
# - prefer_relative_imports
5151
- prefer_void_to_null
5252
- test_types_in_equals

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: 4.0.0
2+
version: 4.1.0
33
description: Lint rules for Dart and Flutter used internally at netglade.
44
repository: https://github.com/netglade/netglade_analysis
55
issue_tracker: https://github.com/netglade/netglade_analysis/issues

0 commit comments

Comments
 (0)