Update API Docs service configuration and enhance error handling; modify ESLint rules to allow console statements and enforce code style standards
Some checks failed
API Docs (Node.js Express) / test (20) (push) Has been cancelled
API Docs (Node.js Express) / build (push) Has been cancelled
API Docs (Node.js Express) / security (push) Has been cancelled
API Docs (Node.js Express) / test (18) (push) Has been cancelled
API Docs (Node.js Express) / test (16) (push) Failing after 5m20s
LabFusion CI/CD Pipeline / api-gateway (push) Has been cancelled
LabFusion CI/CD Pipeline / service-adapters (push) Has been cancelled
LabFusion CI/CD Pipeline / api-docs (push) Has been cancelled
LabFusion CI/CD Pipeline / frontend (push) Has been cancelled
LabFusion CI/CD Pipeline / integration-tests (push) Has been cancelled
LabFusion CI/CD Pipeline / security-scan (push) Has been cancelled
Docker Build and Push / build-and-push (push) Has been cancelled
Docker Build and Push / security-scan (push) Has been cancelled
Docker Build and Push / deploy-staging (push) Has been cancelled
Docker Build and Push / deploy-production (push) Has been cancelled
Integration Tests / integration-tests (push) Has been cancelled
Integration Tests / performance-tests (push) Has been cancelled
API Gateway (Java Spring Boot) / test (17) (push) Failing after 4m55s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 4m54s
API Gateway (Java Spring Boot) / security (push) Has been skipped
API Gateway (Java Spring Boot) / build (push) Has been skipped

This commit is contained in:
GSRN
2025-09-12 13:05:35 +02:00
parent 6d7e7f863d
commit 0b02b30d13
3 changed files with 158 additions and 50 deletions

View File

@@ -14,12 +14,16 @@ module.exports = {
sourceType: 'module'
},
rules: {
'no-console': 'warn',
'no-console': 'off', // Allow console statements for API services
'no-unused-vars': 'warn',
'prefer-const': 'error',
'no-var': 'error',
'object-shorthand': 'error',
'prefer-template': 'error'
'prefer-template': 'error',
'no-trailing-spaces': 'error',
'semi': ['error', 'never'], // Enforce no semicolons
'quotes': ['error', 'single'], // Enforce single quotes
'space-before-function-paren': ['error', 'always']
},
globals: {
process: 'readonly'