Skip to content

Commit

Permalink
feat(prettier): use spaces in yaml files (#52)
Browse files Browse the repository at this point in the history
Use spaces in YAML files.
  • Loading branch information
mheob authored Sep 21, 2022
1 parent 635c145 commit 8bc72cd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/stupid-mice-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@mheob/prettier-config': minor
---

Use spaces instead of tabs in yaml files
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ trim_trailing_whitespace = true
[*.md]
max_line_length = off
trim_trailing_whitespace = false

[*.{yml,yaml}]
max_line_length = off
indent_style = space
4 changes: 4 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: Check

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
release:
Expand Down
1 change: 1 addition & 0 deletions packages/prettier-config/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const options: Config = {
options: {
printWidth: 130,
singleQuote: false,
useTabs: false,
},
},
{
Expand Down

0 comments on commit 8bc72cd

Please sign in to comment.