Skip to content

Commit

Permalink
chore: update dependencies and biome rules
Browse files Browse the repository at this point in the history
  • Loading branch information
riipandi committed Aug 1, 2024
1 parent 8be5af4 commit 4173e03
Show file tree
Hide file tree
Showing 24 changed files with 2,173 additions and 3,633 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ for more information.
[license-mit]: https://choosealicense.com/licenses/mit/
[license-apache]: https://choosealicense.com/licenses/apache-2.0/


---

<sub>🤫 Psst! If you like my work you can support me via [GitHub sponsors](https://github.com/sponsors/riipandi).</sub>
Expand Down
76 changes: 66 additions & 10 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": true
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "main"
},
"linter": {
"enabled": true,
"rules": {
Expand All @@ -11,16 +17,55 @@
"noSvgWithoutTitle": "off",
"useKeyWithClickEvents": "off"
},
"suspicious": {
"noCommentText": "off",
"noExplicitAny": "off",
"noArrayIndexKey": "off"
},
"complexity": {
"noBannedTypes": "off"
},
"correctness": {
"noUnusedImports": "error",
"noUnusedVariables": "error",
"useJsxKeyInIterable": "off"
},
"nursery": {
"noConsole": {
"level": "off",
"fix": "none"
},
"noDuplicateAtImportRules": "error",
"noDuplicateJsonKeys": "error",
"noEmptyBlock": "warn",
"noUnknownUnit": "error",
"useSortedClasses": {
"level": "warn",
"fix": "safe",
"options": {
"attributes": ["classList"],
"functions": ["cn", "clx", "clsx", "cva", "tw"]
}
}
},
"performance": {
"noReExportAll": "off"
},
"security": {
"noDangerouslySetInnerHtmlWithChildren": "warn"
},
"style": {
"noUnusedTemplateLiteral": "off"
"noUnusedTemplateLiteral": "off",
"useConsistentArrayType": "warn",
"useExportType": "warn",
"useImportType": "warn",
"useFilenamingConvention": "error"
},
"suspicious": {
"noArrayIndexKey": "error",
"noAssignInExpressions": "off",
"noCommentText": "off",
"noConsoleLog": {
"level": "off",
"fix": "none"
},
"noDebugger": "off",
"noExplicitAny": "off"
}
}
},
Expand All @@ -47,20 +92,31 @@
"jsxQuoteStyle": "double",
"arrowParentheses": "always",
"semicolons": "asNeeded",
"trailingComma": "es5",
"trailingCommas": "es5",
"quoteProperties": "asNeeded",
"bracketSpacing": true,
"bracketSameLine": false
}
},
"json": {
"formatter": {
"indentWidth": 4
"indentWidth": 4,
"trailingCommas": "none"
}
},
"files": {
"ignoreUnknown": true,
"include": ["**/*.js", "**/*.ts", "**/*.tsx", "**/*.css", "**/*.json"],
"ignore": [".github", ".vscode", "node_modules", "dist", "src-tauri"]
"ignore": [
".github",
".husky",
".tauri",
".vscode",
"node_modules",
"crates",
"src-tauri",
"target",
"tmp"
]
}
}
53 changes: 27 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"format:rs": "(cd src-tauri && cargo fmt)",
"format:js": "biome format . --write",
"format": "pnpm run \"/format:/\"",
"check": "biome check --apply .",
"lint": "biome lint --apply .",
"check": "biome check --write .",
"lint": "biome lint --write .",
"release:major": "rtk release -r major",
"release:minor": "rtk release -r minor",
"release:patch": "rtk release -r patch",
Expand All @@ -33,40 +33,41 @@
},
"dependencies": {
"@tauri-apps/api": ">=2.0.0-beta.6",
"@tauri-apps/plugin-dialog": ">=2.0.0-beta.3",
"@tauri-apps/plugin-fs": ">=2.0.0-beta.3",
"@tauri-apps/plugin-http": ">=2.0.0-beta.3",
"@tauri-apps/plugin-log": ">=2.0.0-beta.4",
"@tauri-apps/plugin-notification": ">=2.0.0-beta.3",
"@tauri-apps/plugin-os": ">=2.0.0-beta.3",
"@tauri-apps/plugin-process": ">=2.0.0-beta.3",
"@tauri-apps/plugin-shell": ">=2.0.0-beta.3",
"@tauri-apps/plugin-updater": ">=2.0.0-beta.3",
"@tauri-apps/plugin-window-state": ">=2.0.0-beta.4",
"@tauri-apps/plugin-dialog": ">=2.0.0-beta.8",
"@tauri-apps/plugin-fs": ">=2.0.0-beta.8",
"@tauri-apps/plugin-http": ">=2.0.0-beta.9",
"@tauri-apps/plugin-log": ">=2.0.0-beta.9",
"@tauri-apps/plugin-notification": ">=2.0.0-beta.8",
"@tauri-apps/plugin-os": ">=2.0.0-beta.8",
"@tauri-apps/plugin-process": ">=2.0.0-beta.8",
"@tauri-apps/plugin-shell": ">=2.0.0-beta.9",
"@tauri-apps/plugin-updater": ">=2.0.0-beta.8",
"@tauri-apps/plugin-window-state": ">=2.0.0-beta.9",
"clsx": "^2.1.1",
"lucide-react": "^0.377.0",
"lucide-react": "^0.418.0",
"react-dom": "^18.3.1",
"react-hotkeys-hook": "^4.5.0",
"react-router-dom": "^6.23.0",
"react-router-dom": "^6.25.1",
"react": "^18.3.1",
"tailwind-merge": "^2.3.0",
"zustand": "^4.5.2"
"tailwind-merge": "^2.4.0",
"zustand": "^4.5.4"
},
"devDependencies": {
"@biomejs/biome": "1.7.2",
"@biomejs/biome": "1.8.3",
"@tailwindcss/vite": "4.0.0-alpha.10",
"@tauri-apps/cli": ">=2.0.0-beta.11",
"@types/node": "^20.12.8",
"@types/node": "^22.0.2",
"@types/react-dom": "^18.3.0",
"@types/react": "^18.3.1",
"@vitejs/plugin-react": "^4.2.1",
"@types/react": "^18.3.3",
"@vitejs/plugin-react": "^4.3.1",
"keep-a-changelog": "^2.5.3",
"lefthook": "^1.6.10",
"npm-check-updates": "^16.14.20",
"rimraf": "^5.0.5",
"lefthook": "^1.7.11",
"npm-check-updates": "^17.0.0",
"rimraf": "^6.0.1",
"rtk": "^3.1.1",
"tailwindcss": "4.0.0-alpha.10",
"typescript": "^5.4.5",
"vite": "^5.2.11"
}
"typescript": "^5.5.4",
"vite": "^5.3.5"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 4173e03

Please sign in to comment.