Skip to content

Commit 2ec57a7

Browse files
authored
Replace prettier and eslint with biome (#1485)
1 parent dd899e7 commit 2ec57a7

File tree

158 files changed

+1510
-4175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+1510
-4175
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 95 deletions
This file was deleted.

.github/dependabot.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,9 @@ updates:
3434
- "typescript"
3535
- "tsx"
3636
- "@bufbuild/protobuf"
37-
lint:
37+
lint-and-format:
3838
patterns:
39-
- "@typescript-eslint/*"
40-
- "eslint-*"
41-
- "eslint"
42-
- "@arethetypeswrong/*"
43-
format:
44-
patterns:
45-
- "prettier"
39+
- "biome"
4640
- "@bufbuild/license-header"
4741
webdriver:
4842
patterns:

biome.base.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": ["tsconfig.*.json", "src/gen/**", "packages/*/dist/**"]
11+
},
12+
"formatter": {
13+
"indentStyle": "space"
14+
},
15+
"linter": {
16+
"rules": {
17+
"recommended": true,
18+
"style": {
19+
"useTemplate": "off",
20+
"useConst": "off",
21+
"noParameterAssign": "off",
22+
"useSingleVarDeclarator": "off",
23+
"useNumberNamespace": "off",
24+
"noUnusedTemplateLiteral": "off"
25+
},
26+
"correctness": {
27+
"noSwitchDeclarations": "off"
28+
},
29+
"suspicious": {
30+
"noDoubleEquals": "off",
31+
"noFallthroughSwitchClause": "off"
32+
}
33+
}
34+
}
35+
}

biome.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"extends": ["./biome.base.json"],
4+
"files": {
5+
"ignore": ["packages/**"]
6+
}
7+
}

0 commit comments

Comments
 (0)