Skip to content

Commit

Permalink
chore: update deps, use biomejs, format workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
PalmDevs committed Sep 13, 2024
1 parent 32afc78 commit 4dd0ee9
Show file tree
Hide file tree
Showing 120 changed files with 10,846 additions and 7,568 deletions.
79 changes: 0 additions & 79 deletions .eslintrc.json

This file was deleted.

34 changes: 17 additions & 17 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[json]": {
"editor.formatOnSave": false
},
"javascript.format.semicolons": "insert",
"typescript.format.semicolons": "insert",
"typescript.preferences.quoteStyle": "double",
"javascript.preferences.quoteStyle": "double"
}
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[json]": {
"editor.formatOnSave": false
},
"javascript.format.semicolons": "insert",
"typescript.format.semicolons": "insert",
"typescript.preferences.quoteStyle": "double",
"javascript.preferences.quoteStyle": "double"
}
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ BSD 3-Clause License

Copyright (c) 2023, Team Vendetta
Copyright (c) 2024, pylixonly
Copyright (c) 2024, Revenge Team

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand Down
64 changes: 64 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.2/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"useKeyWithClickEvents": {
"level": "off"
}
},
"style": {
"noNonNullAssertion": {
"level": "off"
}
},
"suspicious": {
"noAssignInExpressions": {
"level": "off"
},
"noExplicitAny": {
"level": "warn"
}
},
"correctness": {
"useExhaustiveDependencies": {
"level": "warn"
}
}
}
},
"json": {
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2
},
"parser": {
"allowComments": true
}
},
"javascript": {
"formatter": {
"enabled": true,
"lineEnding": "crlf",
"arrowParentheses": "asNeeded",
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 120,
"quoteProperties": "asNeeded",
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingCommas": "all"
}
},
"files": {
"ignoreUnknown": true,
"include": ["*.js", "*.json", "*.ts", "*.tsx", "*.jsx"],
"ignore": ["dist/**/*", "node_modules/**/*"]
}
}
Binary file added bun.lockb
Binary file not shown.
100 changes: 45 additions & 55 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,57 +1,47 @@
{
"name": "bunny",
"private": true,
"author": {
"name": "Pyoncord Team",
"url": "https://github.com/pyoncord"
},
"scripts": {
"build": "node scripts/build.mjs",
"serve": "node scripts/serve.mjs",
"serve:adb": "pnpm run serve --adb",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx"
},
"license": "BSD-3-Clause",
"devDependencies": {
"@swc/core": "^1.7.0",
"@swc/helpers": "^0.5.12",
"@types/node": "^20.14.11",
"@types/yargs-parser": "^21.0.3",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@typescript-eslint/typescript-estree": "^7.16.1",
"chalk": "^5.3.0",
"esbuild": "^0.20.2",
"esbuild-plugin-globals": "^0.2.0",
"eslint": "^8.57.0",
"eslint-plugin-import-alias": "^1.2.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^3.2.0",
"typescript": "^5.5.3",
"yargs-parser": "^21.1.1"
},
"dependencies": {
"@shopify/react-native-skia": "^1.3.8",
"@tanstack/react-query": "^5.51.16",
"@types/chroma-js": "~2.4.4",
"@types/lodash": "~4.17.7",
"@types/react": "18.2.60",
"@types/react-native": "0.72.3",
"es-toolkit": "^1.13.1",
"fuzzysort": "^3.0.2",
"intl-messageformat": "^10.5.14",
"moment": "2.22.2",
"react-native-reanimated": "^3.6.2",
"spitroast": "^1.4.4",
"type-fest": "^4.22.1"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"react",
"react-native"
]
}
"name": "@revenge-mod/revenge",
"private": true,
"author": {
"name": "Revenge Team",
"url": "https://github.com/revenge-mod"
},
"scripts": {
"build": "node scripts/build.mjs",
"serve": "node scripts/serve.mjs",
"serve:adb": "pnpm run serve --adb",
"lint": "biome check ."
},
"license": "BSD-3-Clause",
"devDependencies": {
"@biomejs/biome": "^1.9.0",
"@swc/core": "^1.7.26",
"@swc/helpers": "^0.5.13",
"@types/node": "^22.5.4",
"@types/yargs-parser": "^21.0.3",
"chalk": "^5.3.0",
"esbuild": "^0.23.1",
"typescript": "^5.6.2",
"yargs-parser": "^21.1.1"
},
"dependencies": {
"@shopify/react-native-skia": "^1.3.13",
"@tanstack/react-query": "^5.56.2",
"@types/chroma-js": "~2.4.4",
"@types/lodash": "~4.17.7",
"@types/react": "18.2.6",
"@types/react-native": "0.72.3",
"es-toolkit": "^1.18.0",
"fuzzysort": "^3.0.2",
"intl-messageformat": "^10.5.14",
"moment": "2.22.2",
"react-native-reanimated": "^3.15.2",
"spitroast": "^2.0.2",
"type-fest": "^4.26.1"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": ["react", "react-native"]
}
}
},
"trustedDependencies": ["@biomejs/biome"]
}
Loading

0 comments on commit 4dd0ee9

Please sign in to comment.