mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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
This commit is contained in:
@@ -93,8 +93,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:
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"printWidth": 120,
|
||||
"semi": false,
|
||||
"trailingComma": "all",
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["./README.md", "**/*.yaml", "**/*.yml"],
|
||||
"options": {
|
||||
"printWidth": 80,
|
||||
"proseWrap": "always"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user