Skip to content

Commit a3e6b93

Browse files
authored
chore: migrate tooling and Lottie runtime (#77)
1 parent 9c43195 commit a3e6b93

135 files changed

Lines changed: 834 additions & 2608 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ stats.*
2121
!.env.example
2222
*.local
2323

24-
# Cache
25-
.eslintcache
26-
2724
# Editor / OS
2825
.vscode/*
2926
!.vscode/extensions.json

.prettierrc

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

biome.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/latest/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"files": {
9+
"ignoreUnknown": true,
10+
"includes": ["**", "!!dist", "!!dev-dist", "!src/assets/lottie/**/*.json"]
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "space",
15+
"indentWidth": 2,
16+
"lineEnding": "lf",
17+
"lineWidth": 100
18+
},
19+
"assist": {
20+
"actions": {
21+
"source": {
22+
"organizeImports": "on"
23+
}
24+
}
25+
},
26+
"linter": {
27+
"enabled": true,
28+
"rules": {
29+
"recommended": true
30+
}
31+
},
32+
"javascript": {
33+
"formatter": {
34+
"quoteStyle": "single",
35+
"jsxQuoteStyle": "double",
36+
"quoteProperties": "asNeeded",
37+
"trailingCommas": "all",
38+
"semicolons": "always",
39+
"arrowParentheses": "always"
40+
}
41+
}
42+
}

eslint.config.js

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

package.json

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"url": "https://github.com/romantech/syntax-analyzer/issues"
2222
},
2323
"lint-staged": {
24-
"*.{ts,tsx}": "pnpm run lint:fix"
24+
"*.{js,jsx,ts,tsx,json}": "biome check --write"
2525
},
2626
"scripts": {
2727
"dev": "vite",
2828
"build": "tsc && vite build",
29-
"lint": "eslint --cache . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
30-
"lint:fix": "pnpm run lint --fix",
29+
"lint": "biome check .",
30+
"lint:fix": "biome check --write .",
3131
"preview": "vite preview",
3232
"prepare": "husky"
3333
},
@@ -38,7 +38,7 @@
3838
"@fingerprintjs/fingerprintjs": "3.4.2",
3939
"@formkit/auto-animate": "^0.8.4",
4040
"@hookform/resolvers": "^3.10.0",
41-
"@lottiefiles/react-lottie-player": "^3.6.0",
41+
"@lottiefiles/dotlottie-react": "^0.18.4",
4242
"@tanstack/react-query": "^5.90.21",
4343
"@tsparticles/engine": "^3.9.1",
4444
"@tsparticles/preset-links": "^3.2.0",
@@ -62,33 +62,20 @@
6262
"yup": "^1.7.1"
6363
},
6464
"devDependencies": {
65-
"@eslint/compat": "^2.0.2",
66-
"@eslint/js": "^10.0.1",
65+
"@biomejs/biome": "^2.4.6",
6766
"@hookform/devtools": "^4.4.0",
68-
"@tanstack/eslint-plugin-query": "^5.91.4",
6967
"@tanstack/react-query-devtools": "^5.91.3",
70-
"@types/node": "^20.19.35",
71-
"@types/qs": "^6.14.0",
72-
"@types/react": "^18.3.28",
73-
"@types/react-dom": "^18.3.7",
68+
"@types/node": "^25.4.0",
69+
"@types/qs": "^6.15.0",
70+
"@types/react": "^19.2.14",
71+
"@types/react-dom": "^19.2.3",
7472
"@vitejs/plugin-react": "^5.1.4",
75-
"eslint": "^10.0.2",
76-
"eslint-config-prettier": "^10.1.8",
77-
"eslint-import-resolver-typescript": "^4.4.4",
78-
"eslint-plugin-import-x": "^4.16.1",
79-
"eslint-plugin-prettier": "^5.5.5",
80-
"eslint-plugin-react": "^7.37.5",
81-
"eslint-plugin-react-hooks": "^7.0.1",
82-
"eslint-plugin-react-refresh": "^0.5.2",
83-
"globals": "^17.4.0",
8473
"husky": "^9.1.7",
8574
"jotai-babel": "^0.1.0",
8675
"jotai-devtools": "^0.13.0",
8776
"lint-staged": "^16.3.1",
88-
"prettier": "^3.8.1",
8977
"rollup-plugin-visualizer": "^5.14.0",
9078
"typescript": "^5.9.3",
91-
"typescript-eslint": "^8.56.1",
9279
"vite": "^7.3.1",
9380
"vite-plugin-pwa": "^1.2.0",
9481
"vite-tsconfig-paths": "^6.1.1"

0 commit comments

Comments
 (0)