Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2769f4c

Browse files
authored
chore: Formatting - bring .prettierrc over from cdr/m (#9)
This brings over the same `.prettierrc` we used in `cdr/m`, and runs the formatter w/ the new settings
1 parent 3a3161a commit 2769f4c

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/coder.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ jobs:
9393

9494
- run: go install gotest.tools/gotestsum@latest
9595

96-
# Windows is not happy with backslashed commands.
97-
- run: gotestsum --jsonfile="gotests.json" --packages="./..." -- -covermode=atomic -coverprofile="gotests.coverage"
96+
- run:
97+
gotestsum --jsonfile="gotests.json" --packages="./..." --
98+
-covermode=atomic -coverprofile="gotests.coverage"
9899

99100
- uses: codecov/codecov-action@v2
100101
with:

.prettierrc

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"printWidth": 120,
3+
"semi": false,
4+
"trailingComma": "all",
5+
"overrides": [
6+
{
7+
"files": ["./README.md", "**/*.yaml", "**/*.yml"],
8+
"options": {
9+
"printWidth": 80,
10+
"proseWrap": "always"
11+
}
12+
}
13+
]
14+
}

0 commit comments

Comments
 (0)