Skip to content

Commit 8f0d811

Browse files
committed
biome
# Conflicts: # website/public/scripts/donate.js # website/src/styles/_style.css # website/src/styles/collapsible.css
1 parent 7285243 commit 8f0d811

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

Diff for: biome.jsonc

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
3+
"formatter": {
4+
"indentStyle": "space",
5+
"lineWidth": 100
6+
},
7+
"organizeImports": {
8+
"enabled": true,
9+
"ignore": []
10+
},
11+
"linter": {
12+
"enabled": true,
13+
"rules": {
14+
"recommended": true,
15+
"style": {
16+
// "noUselessElse": "off",
17+
// "noParameterAssign": "off",
18+
// "noArguments": "off"
19+
},
20+
"a11y": {
21+
// "useKeyWithClickEvents": "off",
22+
// "useValidAnchor": "off",
23+
"useButtonType": "off"
24+
// "noBlankTarget": "off",
25+
// "noNoninteractiveTabindex": "off"
26+
},
27+
"security": {
28+
// "noDangerouslySetInnerHtml": "off"
29+
},
30+
"suspicious": {
31+
"noAssignInExpressions": "off"
32+
// "noArrayIndexKey": "off"
33+
},
34+
"complexity": {
35+
// "noForEach": "off"
36+
}
37+
},
38+
"ignore": []
39+
},
40+
"javascript": {
41+
"formatter": {
42+
"semicolons": "asNeeded",
43+
"quoteStyle": "single"
44+
}
45+
},
46+
"files": {
47+
"maxSize": 100000,
48+
"ignore": []
49+
}
50+
}

Diff for: lint.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22

3-
pnpm prettier -w .
3+
# biome
4+
pnpm biome check --write --unsafe --colors=off --log-level=info --log-kind=pretty . | grep path | sort
5+
#pnpm biome check --write --unsafe .
46

57
ruff check --fix .
68
ruff format .

0 commit comments

Comments
 (0)