Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmengels committed Apr 10, 2024
1 parent 64a1dcb commit e4f3566
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": {
"direct": {
"elm/core": "1.0.5",
"jfmengels/elm-review": "2.13.1",
"jfmengels/elm-review": "2.13.2",
"stil4m/elm-syntax": "7.3.2"
},
"indirect": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"elm/core": "1.0.5",
"elm/json": "1.1.3",
"elm/project-metadata-utils": "1.0.2",
"jfmengels/elm-review": "2.13.1",
"jfmengels/elm-review": "2.13.2",
"jfmengels/elm-review-code-style": "1.1.4",
"jfmengels/elm-review-cognitive-complexity": "1.0.3",
"jfmengels/elm-review-common": "1.3.3",
"jfmengels/elm-review-debug": "1.0.8",
"jfmengels/elm-review-documentation": "2.0.4",
"jfmengels/elm-review-simplify": "2.1.4",
"jfmengels/elm-review-unused": "1.2.2",
"jfmengels/elm-review-unused": "1.2.3",
"sparksp/elm-review-forbidden-words": "1.0.1",
"stil4m/elm-syntax": "7.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion test/run-snapshots/elm-review-something/preview/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": {
"direct": {
"elm/core": "1.0.5",
"jfmengels/elm-review": "2.13.1",
"jfmengels/elm-review": "2.13.2",
"stil4m/elm-syntax": "7.3.2"
},
"indirect": {
Expand Down
4 changes: 2 additions & 2 deletions test/run-snapshots/elm-review-something/review/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"elm/core": "1.0.5",
"elm/json": "1.1.3",
"elm/project-metadata-utils": "1.0.2",
"jfmengels/elm-review": "2.13.1",
"jfmengels/elm-review": "2.13.2",
"jfmengels/elm-review-code-style": "1.1.4",
"jfmengels/elm-review-cognitive-complexity": "1.0.3",
"jfmengels/elm-review-common": "1.3.3",
"jfmengels/elm-review-debug": "1.0.8",
"jfmengels/elm-review-documentation": "2.0.4",
"jfmengels/elm-review-simplify": "2.1.4",
"jfmengels/elm-review-unused": "1.2.2",
"jfmengels/elm-review-unused": "1.2.3",
"sparksp/elm-review-forbidden-words": "1.0.1",
"stil4m/elm-syntax": "7.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion test/run-snapshots/init-project/review/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": {
"direct": {
"elm/core": "1.0.5",
"jfmengels/elm-review": "2.13.1",
"jfmengels/elm-review": "2.13.2",
"stil4m/elm-syntax": "7.3.2"
},
"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 @@ -8,8 +8,8 @@
"direct": {
"elm/core": "1.0.5",
"elm/project-metadata-utils": "1.0.2",
"jfmengels/elm-review": "2.13.1",
"jfmengels/elm-review-unused": "1.2.2",
"jfmengels/elm-review": "2.13.2",
"jfmengels/elm-review-unused": "1.2.3",
"stil4m/elm-syntax": "7.3.2"
},
"indirect": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"title": "TEMPLATE ELM.JSON PARSING ERROR",
"path": "<local-path>/test/project-with-errors/review/elm.json",
"message": [
"I found the elm.json associated with jfmengels/node-elm-review repository on GitHub,\nbut I encountered a problem when parsing it:\n\nUnexpected token / in JSON at position 137"
"I found the elm.json associated with jfmengels/node-elm-review repository on GitHub,\nbut I encountered a problem when parsing it:\n\nExpected property name or '}' in JSON at position 137"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"title": "TEMPLATE ELM.JSON PARSING ERROR",
"path": "<local-path>/test/project-with-errors/review/elm.json",
"message": [
"I found the elm.json associated with jfmengels/node-elm-review repository on GitHub,\nbut I encountered a problem when parsing it:\n\nUnexpected token / in JSON at position 137"
"I found the elm.json associated with jfmengels/node-elm-review repository on GitHub,\nbut I encountered a problem when parsing it:\n\nExpected property name or '}' in JSON at position 137"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
I found the elm.json associated with jfmengels/node-elm-review repository on GitHub,
but I encountered a problem when parsing it:

Unexpected token / in JSON at position 137
Expected property name or '}' in JSON at position 137

4 changes: 2 additions & 2 deletions test/run-snapshots/remote-without-elm-review-json.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"rule": "NoUnused.Variables",
"message": "Imported variable `span` is not used",
"ruleLink": "https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Variables",
"ruleLink": "https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Variables",
"details": [
"You should either use this value somewhere, or remove it at the location I pointed at."
],
Expand Down Expand Up @@ -44,7 +44,7 @@
{
"string": "NoUnused.Variables",
"color": "#FF0000",
"href": "https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Variables"
"href": "https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Variables"
},
": Imported variable `span` is not used\n\n10| -- span is unused\n11| , span\n ",
{
Expand Down
2 changes: 1 addition & 1 deletion test/run-snapshots/remote-without-elm-review-ndjson.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"path":"src/Main.elm","rule":"NoUnused.Variables","message":"Imported variable `span` is not used","ruleLink":"https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Variables","details":["You should either use this value somewhere, or remove it at the location I pointed at."],"region":{"start":{"line":11,"column":11},"end":{"line":11,"column":15}},"fix":[{"range":{"start":{"line":9,"column":14},"end":{"line":11,"column":15}},"string":""}],"formatted":[{"string":"(fix) ","color":"#33BBC8"},{"string":"NoUnused.Variables","color":"#FF0000","href":"https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Variables"},": Imported variable `span` is not used\n\n10| -- span is unused\n11| , span\n ",{"string":"^^^^","color":"#FF0000"},"\n12| , text\n\nYou should either use this value somewhere, or remove it at the location I pointed at."],"suppressed":false,"originallySuppressed":false}
{"path":"src/Main.elm","rule":"NoUnused.Variables","message":"Imported variable `span` is not used","ruleLink":"https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Variables","details":["You should either use this value somewhere, or remove it at the location I pointed at."],"region":{"start":{"line":11,"column":11},"end":{"line":11,"column":15}},"fix":[{"range":{"start":{"line":9,"column":14},"end":{"line":11,"column":15}},"string":""}],"formatted":[{"string":"(fix) ","color":"#33BBC8"},{"string":"NoUnused.Variables","color":"#FF0000","href":"https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Variables"},": Imported variable `span` is not used\n\n10| -- span is unused\n11| , span\n ",{"string":"^^^^","color":"#FF0000"},"\n12| , text\n\nYou should either use this value somewhere, or remove it at the location I pointed at."],"suppressed":false,"originallySuppressed":false}

0 comments on commit e4f3566

Please sign in to comment.