Skip to content

Commit

Permalink
Merge pull request #53 from netglade/fix-prefer-boolean-prefixes
Browse files Browse the repository at this point in the history
Fix prefer-boolean-prefixes config
  • Loading branch information
tenhobi authored Nov 14, 2024
2 parents e3a85d3 + 5d4140e commit 29ecaeb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 21 deletions.
3 changes: 3 additions & 0 deletions packages/netglade_analysis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 13.0.1
- Fix prefer-boolean-prefixes config

## 13.0.0
- Adhere to DCM 1.22.0, 1.23.0, and 1.24.2:
- Add avoid-adjacent-strings
Expand Down
41 changes: 21 additions & 20 deletions packages/netglade_analysis/lib/dcm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -275,28 +275,29 @@ dart_code_metrics:
- prefer-boolean-prefixes:
ignored-names:
- value
- v
- result
- "_"
prefixes:
# Defaults
- is
- are
- was
- were
- has
- have
- had
- can
- should
- will
- do
- does
- did
# New
- show
- allow
- enable
- handle # for handlers that return bool
prefixes:
# Defaults
- is
- are
- was
- were
- has
- have
- had
- can
- should
- will
- do
- does
- did
# New
- show
- allow
- enable
- handle # for handlers that return bool
- prefer-both-inlining-annotations
- prefer-bytes-builder
- prefer-commenting-analyzer-ignores
Expand Down
2 changes: 1 addition & 1 deletion packages/netglade_analysis/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: netglade_analysis
version: 13.0.0
version: 13.0.1
description: Lint rules for Dart and Flutter used internally at netglade.
repository: https://github.com/netglade/flutter_core/tree/main/packages/netglade_analysis
issue_tracker: https://github.com/netglade/flutter_core/issues
Expand Down

0 comments on commit 29ecaeb

Please sign in to comment.