Skip to content

Commit

Permalink
Fix incorrect type for project rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmengels committed Feb 9, 2024
1 parent 18dde5b commit 66fa871
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion lib/new-rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ foldProjectContexts new previous =
{}
expressionVisitor : Node Expression -> ProjectContext -> ( List (Rule.Error {}), ProjectContext )
expressionVisitor : Node Expression -> ModuleContext -> ( List (Rule.Error {}), ModuleContext )
expressionVisitor node context =
case Node.value node of
_ ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"elm-doc-preview": "^5.0.5",
"elm-review": "^2.11.0-beta.4",
"elm-review": "^2.11.0-beta.5",
"elm-test": "^0.19.1-revision10",
"elm-tooling": "^1.13.1",
"fs-extra": "^9.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"elm/random": "1.0.0",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.3",
"elm-explorations/test": "2.1.2",
"miniBill/elm-unicode": "1.0.3",
"elm-explorations/test": "2.2.0",
"miniBill/elm-unicode": "1.1.0",
"rtfeldman/elm-hex": "1.0.0",
"stil4m/structured-writer": "1.0.3"
}
},
"test-dependencies": {
"direct": {
"elm-explorations/test": "2.1.2"
"elm-explorations/test": "2.2.0"
},
"indirect": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
"elm/regex": "1.0.0",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.3",
"elm-explorations/test": "2.1.2",
"miniBill/elm-unicode": "1.0.3",
"elm-explorations/test": "2.2.0",
"miniBill/elm-unicode": "1.1.0",
"pzp1997/assoc-list": "1.0.0",
"rtfeldman/elm-hex": "1.0.0",
"stil4m/structured-writer": "1.0.3"
}
},
"test-dependencies": {
"direct": {
"elm-explorations/test": "2.1.2"
"elm-explorations/test": "2.2.0"
},
"indirect": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ foldProjectContexts new previous =
{}


expressionVisitor : Node Expression -> ProjectContext -> ( List (Rule.Error {}), ProjectContext )
expressionVisitor : Node Expression -> ModuleContext -> ( List (Rule.Error {}), ModuleContext )
expressionVisitor node context =
case Node.value node of
_ ->
Expand Down
2 changes: 1 addition & 1 deletion test/run-snapshots/elm-review-something/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"elm-doc-preview": "^5.0.5",
"elm-review": "^2.11.0-beta.4",
"elm-review": "^2.11.0-beta.5",
"elm-test": "^0.19.1-revision10",
"elm-tooling": "^1.13.1",
"fs-extra": "^9.0.0",
Expand Down
6 changes: 3 additions & 3 deletions test/run-snapshots/elm-review-something/preview/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"elm/random": "1.0.0",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.3",
"elm-explorations/test": "2.1.2",
"miniBill/elm-unicode": "1.0.3",
"elm-explorations/test": "2.2.0",
"miniBill/elm-unicode": "1.1.0",
"rtfeldman/elm-hex": "1.0.0",
"stil4m/structured-writer": "1.0.3"
}
},
"test-dependencies": {
"direct": {
"elm-explorations/test": "2.1.2"
"elm-explorations/test": "2.2.0"
},
"indirect": {}
}
Expand Down
6 changes: 3 additions & 3 deletions test/run-snapshots/elm-review-something/review/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
"elm/regex": "1.0.0",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.3",
"elm-explorations/test": "2.1.2",
"miniBill/elm-unicode": "1.0.3",
"elm-explorations/test": "2.2.0",
"miniBill/elm-unicode": "1.1.0",
"pzp1997/assoc-list": "1.0.0",
"rtfeldman/elm-hex": "1.0.0",
"stil4m/structured-writer": "1.0.3"
}
},
"test-dependencies": {
"direct": {
"elm-explorations/test": "2.1.2"
"elm-explorations/test": "2.2.0"
},
"indirect": {}
}
Expand Down
6 changes: 3 additions & 3 deletions test/run-snapshots/init-project/review/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"elm/random": "1.0.0",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.3",
"elm-explorations/test": "2.1.2",
"miniBill/elm-unicode": "1.0.3",
"elm-explorations/test": "2.2.0",
"miniBill/elm-unicode": "1.1.0",
"rtfeldman/elm-hex": "1.0.0",
"stil4m/structured-writer": "1.0.3"
}
},
"test-dependencies": {
"direct": {
"elm-explorations/test": "2.1.2"
"elm-explorations/test": "2.2.0"
},
"indirect": {}
}
Expand Down
4 changes: 2 additions & 2 deletions test/run-snapshots/init-template-project/review/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"elm/random": "1.0.0",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.3",
"elm-explorations/test": "2.1.2",
"miniBill/elm-unicode": "1.0.3",
"elm-explorations/test": "2.2.0",
"miniBill/elm-unicode": "1.1.0",
"rtfeldman/elm-hex": "1.0.0",
"stil4m/structured-writer": "1.0.3"
}
Expand Down

0 comments on commit 66fa871

Please sign in to comment.