Skip to content

Commit adf5757

Browse files
committed
Replace eslint with biome
1 parent 708a040 commit adf5757

Some content is hidden

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

69 files changed

+540
-2243
lines changed

.eslintrc.js

-34
This file was deleted.

package.json

+7-23
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,23 @@
2323
"zustand": "5.0.1"
2424
},
2525
"devDependencies": {
26-
"@rsbuild/core": "1.1.1",
26+
"@biomejs/biome": "1.9.4",
27+
"@rsbuild/core": "1.1.2",
2728
"@rsbuild/plugin-react": "1.0.7",
2829
"@testing-library/jest-dom": "^6.6.3",
2930
"@testing-library/react": "^16.0.1",
3031
"@types/jest": "^29.5.14",
32+
"@types/node": "^22.9.0",
3133
"@types/react": "^18.3.12",
32-
"@types/uuid": "^10.0.0",
3334
"@types/react-dom": "^18.3.1",
3435
"@types/recharts": "1.8.29",
35-
"@types/node": "^22.9.0",
36-
"@typescript-eslint/eslint-plugin": "7.18.0",
36+
"@types/uuid": "^10.0.0",
3737
"autoprefixer": "^10.4.20",
38-
"eslint": "^8.57.0",
39-
"eslint-config-unosquare": "0.20.0",
40-
"eslint-plugin-prettier": "^5.2.1",
41-
"eslint-plugin-react": "^7.37.2",
42-
"eslint-plugin-react-hooks": "^5.0.0",
4338
"husky": "^9.1.6",
4439
"jest": "^29.7.0",
4540
"jest-environment-jsdom": "^29.7.0",
4641
"lint-staged": "^15.2.10",
4742
"postcss-loader": "^8.1.1",
48-
"prettier": "^3.3.3",
4943
"tailwindcss": "^3.4.14",
5044
"ts-jest": "^29.2.5",
5145
"typescript": "^5.6.3"
@@ -54,20 +48,10 @@
5448
"start": "rsbuild dev --open",
5549
"watch": "tsc --watch",
5650
"build": "tsc && npx ncp src/resources/ dist/resources",
57-
"lint": "tsc --noEmit && eslint ./src/**/*.{ts,tsx}",
58-
"lint:fix": "eslint ./src/**/*.{ts,tsx} --fix",
51+
"lint": "pnpm biome check ./src",
52+
"lint:fix": "pnpm biome check --write ./src",
5953
"test": "jest --silent",
60-
"cest": "jest --silent --collectCoverage",
61-
"prepare": "husky"
62-
},
63-
"prettier": {
64-
"endOfLine": "auto",
65-
"semi": true,
66-
"trailingComma": "all",
67-
"singleQuote": true,
68-
"jsxSingleQuote": true,
69-
"printWidth": 120,
70-
"tabWidth": 4
54+
"cest": "jest --silent --collectCoverage"
7155
},
7256
"repository": {
7357
"type": "git",

0 commit comments

Comments
 (0)