Skip to content

Commit 702cdcd

Browse files
committed
Fixed alot
1 parent d55ddee commit 702cdcd

32 files changed

Lines changed: 5057 additions & 5311 deletions

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,5 @@ dist
129129
.yarn/install-state.gz
130130
.pnp.*
131131

132-
/cache
132+
/cache
133+
\logs*

.prettierrc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"endOfLine": "auto",
3-
"trailingComma": "all",
4-
"printWidth": 80,
5-
"tabWidth": 2
2+
"printWidth": 80,
3+
"tabWidth": 4
64
}

.vscode/extensions.json

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

.vscode/launch.json

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

.vscode/settings.json

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

.vscode/tasks.json

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

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ https://github.com/onlinesgc/Gamerbot-REST-API/wiki
1212

1313
### Prerequisite to run the API
1414

15-
- [NodeJS](https://nodejs.org/en).
16-
- A package manager. I use [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
17-
- A Mongodb cluster. (Instructions below)
18-
1. Make an account on [MongoDB](https://www.mongodb.com/developer/)
19-
2. Create an new project
20-
3. Create an new cluster in the project
21-
4. It will ask you to create an login, do it and save down the password and username
22-
5. When they ask you were you are going to use the cluster, press node.js.
23-
6. You will now see a string that looks somting like this `mongodb+srv://<Username>:<password>@<clustername>....`. Save this link
15+
- [NodeJS](https://nodejs.org/en).
16+
- A package manager. I use [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
17+
- A Mongodb cluster. (Instructions below)
18+
1. Make an account on [MongoDB](https://www.mongodb.com/developer/)
19+
2. Create an new project
20+
3. Create an new cluster in the project
21+
4. It will ask you to create an login, do it and save down the password and username
22+
5. When they ask you were you are going to use the cluster, press node.js.
23+
6. You will now see a string that looks somting like this `mongodb+srv://<Username>:<password>@<clustername>....`. Save this link
2424

2525
### Setup
2626

eslint.config.mjs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ import tseslint from "typescript-eslint";
66

77
/** @type {import('eslint').Linter.Config[]} */
88
export default [
9-
{ files: ["**/*.{js,mjs,cjs,ts}"] },
10-
{ ignores: ["**/dist/*"] },
11-
{ languageOptions: { globals: globals.node } },
12-
{ plugins: { tseslint } },
13-
{
14-
rules: {
15-
"@typescript-eslint/naming-convention": "warn",
9+
{ files: ["**/*.{js,mjs,cjs,ts}"] },
10+
{ ignores: ["**/dist/*"] },
11+
{ languageOptions: { globals: globals.node } },
12+
{ plugins: { tseslint } },
13+
{
14+
rules: {
15+
"@typescript-eslint/naming-convention": "warn",
16+
},
1617
},
17-
},
18-
eslint.configs.recommended,
19-
...tseslint.configs.recommended,
20-
...tseslint.configs.stylistic,
21-
eslintPluginPrettierRecommended,
18+
eslint.configs.recommended,
19+
...tseslint.configs.recommended,
20+
...tseslint.configs.stylistic,
21+
eslintPluginPrettierRecommended,
2222
];

0 commit comments

Comments
 (0)