- Created a pre-commit hook in .husky to run lint-staged. - Added .lintstagedrc.mjs to format frontend files with Prettier and apply Spotless to backend Java files. - Introduced .prettierignore to exclude specific directories from formatting.
42 lines
1.0 KiB
JSON
42 lines
1.0 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "java",
|
|
"name": "Backend: Spring Boot",
|
|
"request": "launch",
|
|
"mainClass": "fr.nessar.lmnporganizer.LmnpOrganizerApplication",
|
|
"projectName": "backend",
|
|
"cwd": "${workspaceFolder}/backend",
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"env": {
|
|
"SPRING_DATA_MONGODB_URI": "mongodb://${MONGO_ROOT_USERNAME:lmnp}:${MONGO_ROOT_PASSWORD}@localhost:${MONGO_PORT:27017}/lmnp?authSource=admin&replicaSet=rs0&directConnection=true"
|
|
},
|
|
"preLaunchTask": "Start MongoDB",
|
|
"postDebugTask": "Stop MongoDB"
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"name": "Frontend: Angular",
|
|
"request": "launch",
|
|
"presentation": {
|
|
"hidden": true
|
|
},
|
|
"url": "http://localhost:4200",
|
|
"webRoot": "${workspaceFolder}/frontend",
|
|
"sourceMaps": true,
|
|
"preLaunchTask": "Start Angular"
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Debug whole app",
|
|
"configurations": ["Backend: Spring Boot", "Frontend: Angular"],
|
|
"stopAll": true,
|
|
"presentation": {
|
|
"order": 1
|
|
}
|
|
}
|
|
]
|
|
}
|