Skip to content

Commit d08cead

Browse files
committed
biome & deps
1 parent acc55cb commit d08cead

4 files changed

Lines changed: 772 additions & 0 deletions

File tree

.github/workflows/code_check.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Linter & Formatter Check
2+
on: push
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v6
8+
- name: Install modules
9+
run: npm ci
10+
- name: Run Biome
11+
run: npx biome check .

biome.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.4.7/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"includes": ["**"]
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "tab",
15+
"lineWidth": 150
16+
},
17+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
18+
"linter": {
19+
"enabled": true,
20+
"rules": {
21+
"recommended": true,
22+
"complexity": {
23+
"noForEach": "off"
24+
}
25+
}
26+
},
27+
"javascript": {
28+
"formatter": {
29+
"quoteStyle": "double"
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)