From a9a4c49c1510f8837e26abb61124cc511c3bf412 Mon Sep 17 00:00:00 2001 From: Bryan Phelps Date: Thu, 6 Jan 2022 15:03:07 +0000 Subject: [PATCH 1/3] chore: Add .prettierrc from cdr/m --- .prettierrc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000000000..8d35cecf3c13a --- /dev/null +++ b/.prettierrc @@ -0,0 +1,14 @@ +{ + "printWidth": 120, + "semi": false, + "trailingComma": "all", + "overrides": [ + { + "files": ["./README.md", "**/*.yaml", "**/*.yml"], + "options": { + "printWidth": 80, + "proseWrap": "always" + } + } + ] +} \ No newline at end of file From 69d0484dba5f05f24eaf77009e6397e049b987fb Mon Sep 17 00:00:00 2001 From: Bryan Phelps Date: Thu, 6 Jan 2022 15:03:23 +0000 Subject: [PATCH 2/3] Reformat with updated prettier settings --- .github/workflows/coder.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index 7ddc3f366a135..332e4d1dff759 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -94,7 +94,9 @@ jobs: - run: go install gotest.tools/gotestsum@latest # Windows is not happy with backslashed commands. - - run: gotestsum --jsonfile="gotests.json" --packages="./..." -- -covermode=atomic -coverprofile="gotests.coverage" + - run: + gotestsum --jsonfile="gotests.json" --packages="./..." -- + -covermode=atomic -coverprofile="gotests.coverage" - uses: codecov/codecov-action@v2 with: From 814ee2c894016c0d4edcb0ea1ebf3fab18f69d6a Mon Sep 17 00:00:00 2001 From: Bryan Phelps Date: Thu, 6 Jan 2022 20:48:36 +0000 Subject: [PATCH 3/3] Remove extraneous comment --- .github/workflows/coder.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index 332e4d1dff759..c3f61e7104125 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -93,7 +93,6 @@ jobs: - run: go install gotest.tools/gotestsum@latest - # Windows is not happy with backslashed commands. - run: gotestsum --jsonfile="gotests.json" --packages="./..." -- -covermode=atomic -coverprofile="gotests.coverage"