Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Jan 23, 2024
1 parent dbdff5c commit 8a85118
Show file tree
Hide file tree
Showing 50 changed files with 440 additions and 421 deletions.
5 changes: 0 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"endOfLine": "lf",
"semi": true,
"trailingComma": "es5",
"useTabs": false,
"tabWidth": 2,
"singleQuote": true
}
2 changes: 1 addition & 1 deletion dev/promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async function test() {
await new Promise((resolve) => setTimeout(resolve, el * 1000));
console.log('[m]', start);
resolve(el);
})
}),
);
const result = await Promise.allSettled(arrPromises);
console.log('[e]', start, result);
Expand Down
2 changes: 1 addition & 1 deletion dev/renamer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function init() {
console.log(vids);
vids.forEach((vid) => {
const match = subs.find((sub) =>
vid.toLowerCase().startsWith(sub.slice(0, -4).toLowerCase())
vid.toLowerCase().startsWith(sub.slice(0, -4).toLowerCase()),
);
console.log(vid, match);
if (vid && match) {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
144 changes: 81 additions & 63 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"compression": "^1.7.4",
"cors": "^2.8.5",
"discord.js": "^14.14.1",
"dotenv": "^16.3.1",
"dotenv": "^16.3.2",
"eventemitter3": "^4.0.7",
"express": "^4.18.2",
"fast-xml-parser": "^4.3.3",
Expand All @@ -24,7 +24,7 @@
"mediasoup-client": "^3.7.2",
"node-ssh": "^13.1.0",
"pg": "^8.11.3",
"pm2": "^5.3.0",
"pm2": "^5.3.1",
"react": "^18.2.0",
"react-colorful": "^5.6.1",
"react-dom": "^18.2.0",
Expand Down Expand Up @@ -93,7 +93,7 @@
"@types/cors": "^2.8.17",
"@types/emoji-mart": "^3.0.14",
"@types/express": "^4.17.21",
"@types/node": "^18.19.7",
"@types/node": "^20.11.5",
"@types/pg": "^8.10.9",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
Expand All @@ -107,10 +107,10 @@
"@types/youtube": "^0.0.50",
"husky": "^4.3.8",
"lint-staged": "^13.3.0",
"prettier": "^2.8.8",
"prettier": "^3.2.4",
"source-map-explorer": "^2.5.3",
"ts-node-dev": "^2.0.0",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
}
}
Loading

0 comments on commit 8a85118

Please sign in to comment.