Skip to content

Commit e6419ba

Browse files
authored
chore: replace eslint with biome (#3)
1 parent 368731e commit e6419ba

File tree

4 files changed

+419
-3359
lines changed

4 files changed

+419
-3359
lines changed

biome.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"files": {
9+
"ignoreUnknown": true,
10+
"includes": ["**", "!node_modules", "!.next", "!dist", "!build"]
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "space",
15+
"indentWidth": 2
16+
},
17+
"linter": {
18+
"enabled": true,
19+
"rules": {
20+
"recommended": true,
21+
"suspicious": {
22+
"noUnknownAtRules": "off"
23+
}
24+
},
25+
"domains": {
26+
"next": "recommended",
27+
"react": "recommended"
28+
}
29+
},
30+
"css": {
31+
"parser": {
32+
"cssModules": false,
33+
"tailwindDirectives": true
34+
}
35+
},
36+
"assist": {
37+
"actions": {
38+
"source": {
39+
"organizeImports": "on"
40+
}
41+
}
42+
}
43+
}

eslint.config.mjs

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

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66
"dev": "next dev",
77
"build": "next build",
88
"start": "next start",
9-
"lint": "eslint"
9+
"lint": "biome check",
10+
"format": "biome format --write"
1011
},
1112
"dependencies": {
13+
"next": "16.0.1",
1214
"react": "19.2.0",
13-
"react-dom": "19.2.0",
14-
"next": "16.0.1"
15+
"react-dom": "19.2.0"
1516
},
1617
"devDependencies": {
17-
"babel-plugin-react-compiler": "1.0.0",
18-
"typescript": "^5",
18+
"@biomejs/biome": "2.3.5",
19+
"@tailwindcss/postcss": "^4",
1920
"@types/node": "^20",
2021
"@types/react": "^19",
2122
"@types/react-dom": "^19",
22-
"@tailwindcss/postcss": "^4",
23+
"babel-plugin-react-compiler": "1.0.0",
2324
"tailwindcss": "^4",
24-
"eslint": "^9",
25-
"eslint-config-next": "16.0.1"
25+
"typescript": "^5"
2626
}
2727
}

0 commit comments

Comments
 (0)