Skip to content

Commit 1b2eb5f

Browse files
Umut OezdemirUmut Oezdemir
Umut Oezdemir
authored and
Umut Oezdemir
committed
Refactor eslint config
1 parent 2272346 commit 1b2eb5f

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ lerna-debug.log*
3333

3434
# Coverage directory used by testing tools
3535
coverage/
36+
backend/models/parameters.json

backend/eslint.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ import pluginJs from "@eslint/js";
44

55
export default [
66
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
7-
{languageOptions: { globals: globals.browser }},
7+
{languageOptions: { globals: { ...globals.node }, }},
88
pluginJs.configs.recommended,
99
];

backend/models/parameters.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"stone": 0.5
1313
},
1414
"preset_0": {
15-
"greening": 0.0,
15+
"greening": 0,
1616
"dry_rot": 0.1,
1717
"wet_rot": 0,
1818
"wire_worm": 0,
@@ -68,7 +68,7 @@
6868
},
6969
"preset_5": {
7070
"greening": 0.5,
71-
"dry_rot": 0.1,
71+
"dry_rot": 0.9,
7272
"wet_rot": 0,
7373
"wire_worm": 0,
7474
"malformed": 0.7,

docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ services:
1010
- ./backend:/app # Mounts the backend directory to /app inside the container
1111
environment:
1212
MONGO_URI: mongodb://karevo:raFWD4Jr4ysCMn4oo138@database:27017/karevo-dashboard?authSource=admin
13+
JWT_SECRET: JWT_SECRET
1314
depends_on:
1415
- database
1516
networks:

0 commit comments

Comments
 (0)