Skip to content

Commit 478948c

Browse files
committed
Update deps.
1 parent 48100ce commit 478948c

File tree

5 files changed

+74
-54
lines changed

5 files changed

+74
-54
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ dev: setup
99

1010
.PHONY: lint
1111
lint: setup
12-
bun x rome check
12+
bun x @biomejs/biome check
1313

1414
.PHONY: format
1515
format: setup
16-
bun x rome check --write
16+
bun x @biomejs/biome check --write
1717

1818
.PHONY: setup
1919
setup:

biome.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
11
{
22
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"files": {
4-
"ignore": ["./dist", "./package.json"]
4+
"includes": ["**", "!dist", "!package.json"]
55
},
66
"formatter": {
77
"indentStyle": "space",
88
"indentWidth": 2
9+
},
10+
"linter": {
11+
"rules": {
12+
"style": {
13+
"noParameterAssign": "error",
14+
"useAsConstAssertion": "error",
15+
"useDefaultParameterLast": "error",
16+
"useEnumInitializers": "error",
17+
"useSelfClosingElements": "error",
18+
"useSingleVarDeclarator": "error",
19+
"noUnusedTemplateLiteral": "error",
20+
"useNumberNamespace": "error",
21+
"noInferrableTypes": "error",
22+
"noUselessElse": "error"
23+
}
24+
}
925
}
1026
}

0 commit comments

Comments
 (0)