Skip to content

Commit e1dc841

Browse files
chore: Webサイトのメタデータ管理のためのEditorConfigを追加 (#334)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent e28ed48 commit e1dc841

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/autofix.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: autofix.ci
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
workflow_dispatch:
8+
jobs:
9+
format-metadata:
10+
runs-on: ubuntu-24.04
11+
defaults:
12+
run:
13+
working-directory: website/typst-docs-web
14+
steps:
15+
- name: Checkout the repository
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
with:
18+
submodules: recursive
19+
- name: Setup tools
20+
uses: jdx/mise-action@13abe502c30c1559a5c37dff303831bab82c9402 # v2.2.3
21+
- name: Install dependencies
22+
run: bun install --frozen-lockfile
23+
- name: Apply Biome checks
24+
run: bun biome check --write ../
25+
- name: Autofix
26+
uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # v1.3.2

website/.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[*]
2+
charset = utf-8
3+
end_of_line = lf
4+
indent_size = 2
5+
indent_style = tab
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
9+
[*.md]
10+
max_line_length = 0

0 commit comments

Comments
 (0)