Skip to content

Commit 908fa3b

Browse files
authored
refactor(dev): moving from ESLint to Biome (#1091)
1 parent 9673cc1 commit 908fa3b

File tree

84 files changed

+2695
-6592
lines changed

Some content is hidden

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

84 files changed

+2695
-6592
lines changed

biome.jsonc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3+
"extends": ["@readme/standards/biome", "@readme/standards/biome/esm"],
4+
"files": {
5+
"includes": [
6+
// This array is extended in each package. If we don't include this then Biome will scan
7+
// **everything** in this repo.
8+
],
9+
},
10+
"linter": {
11+
"enabled": true,
12+
"domains": {
13+
"project": "all",
14+
"test": "all",
15+
},
16+
"rules": {
17+
"recommended": true,
18+
"correctness": {
19+
// This is wreaking havoc on our `.json` imports and attempts to rewrite them to `.js`.
20+
"useImportExtensions": "off",
21+
},
22+
},
23+
},
24+
"overrides": [
25+
{
26+
"includes": ["**/tsup.config.ts"],
27+
"linter": {
28+
"rules": {
29+
"style": {
30+
"noDefaultExport": "off",
31+
},
32+
},
33+
},
34+
},
35+
],
36+
}

0 commit comments

Comments
 (0)