Skip to content

Commit fbb931c

Browse files
committed
editorconfig
1 parent 755a34f commit fbb931c

File tree

2 files changed

+21
-14
lines changed

2 files changed

+21
-14
lines changed

.editorconfig

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
root = true
22

33
[*]
4-
charset = utf-8
5-
end_of_line = lf
6-
indent_size = 4
7-
indent_style = space
8-
insert_final_newline = true
9-
trim_trailing_whitespace = true
4+
charset=utf-8
5+
end_of_line=lf
6+
indent_size=2
7+
indent_style=space
8+
insert_final_newline=true
9+
tab_width=2
10+
trim_trailing_whitespace=true
1011

11-
[*.{json, yaml, yml}]
12-
indent_size = 2
12+
[*.{bat,cmd,ps1}]
13+
end_of_line=crlf
1314

14-
[*.md]
15-
trim_trailing_whitespace = false
15+
[*.{md,mdx}]
16+
trim_trailing_whitespace=false
1617

17-
[Makefile]
18-
indent_style = tab
18+
[*.{py,rs}]
19+
indent_size=4
20+
tab_width=4
21+
22+
[{*.{go,lua,tsv},go.{mod,sum},Makefile}]
23+
indent_size=4
24+
indent_style=tab
25+
tab_width=4

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141
if: ${{ runner.os != 'Windows' }}
4242
run: |
4343
mkdir -p .venv
44-
echo "$(realpath .venv)/bin" >> ${GITHUB_PATH}
44+
echo "$(realpath .venv)/bin" >> "${GITHUB_PATH}"
4545
4646
- name: Set up environment (Windows)
4747
if: ${{ runner.os == 'Windows' }}
4848
run: |
4949
New-Item -Type Directory -Force .venv
50-
"$(Resolve-Path .venv)/Scripts" | Out-File -FilePath ${env:GITHUB_PATH} -Append
50+
"$(Resolve-Path .venv)/Scripts" | Out-File -FilePath "${env:GITHUB_PATH}" -Append
5151
5252
- run: uv sync
5353

0 commit comments

Comments
 (0)