Run all linting in Docker via Dockerfile.lint (closes #30) #31

Open
clawbot wants to merge 20 commits from next into main
Showing only changes of commit 9ed92e1231 - Show all commits
+7 -3
View File
@@ -646,9 +646,13 @@ describe("the resolver reads what the shell would run", () => {
it("reads the body of a BuildKit heredoc RUN step", () => { it("reads the body of a BuildKit heredoc RUN step", () => {
expect( expect(
dockerRunCommands( dockerRunCommands(
["FROM scratch", "RUN <<EOF", "yarn run prettier --check .", "EOF", "RUN echo done"].join( [
"\n", "FROM scratch",
), "RUN <<EOF",
"yarn run prettier --check .",
"EOF",
"RUN echo done",
].join("\n"),
), ),
).toContain("yarn run prettier --check ."); ).toContain("yarn run prettier --check .");
}); });