Skip to content

Commit

Permalink
Merge pull request #8 from tanguymossion/chore-upgrade-dependencies
Browse files Browse the repository at this point in the history
Chore upgrade dependencies
  • Loading branch information
Cteq3132 authored Apr 16, 2024
2 parents a824d1e + ca1e45f commit a242173
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.3.0

- Upgrade sdk to >=3.0.0 <4.0.0
- Upgrade custom lint to 0.6.4
- Upgrade custom_lint_builder to 0.6.4
- Upgrade analyzer to 6.4.1

## 0.2.1

- Add "add every missing fields" dart fix for "missing_field_in_equatable_props" lint
Expand Down
6 changes: 3 additions & 3 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ version: 0.1.3
publish_to: none

environment:
sdk: ">=2.19.0 <3.0.0"
sdk: ">=3.0.0 <4.0.0"

dependencies:
analyzer: ^5.4.0
analyzer: ^6.4.1
equatable: ^2.0.5

dev_dependencies:
custom_lint: ^0.4.0
custom_lint: ^0.6.4
equatable_lint:
path: ../
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ extension AddEquatableSuperClassDeclarationListener on LintRuleNodeRegistry {
required ClassDeclaration classNode,
required ClassMember equatablePropsClassMember,
required EquatablePropsExpressionDetails equatablePropsExpressionDetails,
})
listener, {
}) listener, {
bool Function(ClassDeclaration)? optionnalPreCheck,
}) {
addClassDeclaration((classNode) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ extension AddEquatableClassFieldDeclarationListener on LintRuleNodeRegistry {
required ClassDeclaration classNode,
required List<FieldElement> watchableFields,
required EquatablePropsExpressionDetails? equatablePropsExpressionDetails,
})
listener, {
}) listener, {
bool Function(FieldDeclaration)? optionnalPreCheck,
}) {
addFieldDeclaration((fieldNode) {
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ homepage: https://github.com/bamlab/equatable_lint
repository: https://github.com/bamlab/equatable_lint

environment:
sdk: ">=2.19.0 <3.0.0"
sdk: ">=3.0.0 <4.0.0"

dependencies:
analyzer: ^5.12.0
analyzer: ^6.4.1
analyzer_plugin: ^0.11.2
collection: ^1.17.1
custom_lint_builder: ^0.4.0
collection: ^1.16.0
custom_lint_builder: ^0.6.4
equatable: ^2.0.5
source_gen: ^1.3.2

0 comments on commit a242173

Please sign in to comment.