Skip to content

Commit

Permalink
[CI]: fixed lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Jan 29, 2024
1 parent 6e98f3f commit ebaf191
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
17 changes: 14 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"es2021": true,
"node": true
},
"extends": ["standard-with-typescript", "prettier"],
"extends": [
"standard-with-typescript",
"prettier"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand All @@ -12,5 +15,13 @@
"project": "./tsconfig.json"
},
"rules": {},
"ignorePatterns": ["coverage", "dist", "__tests__/", "jest.config.js", "*.yml", "mongo-init.js", "bable.config.js"]
}
"ignorePatterns": [
"coverage",
"dist",
"__tests__/",
"jest.config.js",
"*.yml",
"mongo-init.js",
"bable.config.js"
]
}
4 changes: 2 additions & 2 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ services:
- NODE_ENV=test
- DB_HOST=mongo
- DB_PORT=27017
- DB_USER=root
- DB_PASSWORD=pass
- DB_USER=user
- DB_PASSWORD=password
- DB_NAME=RnDAO
- DISCORD_CLIENT_ID=1
- DISCORD_CLIENT_SECRET=1
Expand Down
2 changes: 1 addition & 1 deletion mongo-init.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
print('Started Adding the Users.');
db = db.getSiblingDB('RnDAO');
db.createUser({ user: 'root', pwd: 'pass', roles: ['readWrite'] });
db.createUser({ user: 'user', pwd: 'password', roles: ['readWrite'] });
print('End Adding the User Roles.');

0 comments on commit ebaf191

Please sign in to comment.