chore(quality): type-check and lint gates in pre-deploy, clean lint/tsc
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Waiting to run
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Blocked by required conditions
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Blocked by required conditions
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Waiting to run
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Blocked by required conditions

- pre-deploy suite now runs tsc --noEmit and eslint; any failure aborts
  the release
- fix all TypeScript errors (FooterConfig.copyright removed after the CMS
  move; test guards/casts)
- fix all ESLint errors: <a>→<Link> and <img>→<Image> in Header/Footer,
  remove unused imports and explicit any in src
- eslint config relaxes no-explicit-any/no-require-imports/no-unused-vars
  for test and CommonJS config files (legitimate usage)

Closes MITHOME-81
This commit is contained in:
Do Siki
2026-08-22 12:37:22 +02:00
parent 162e5782e9
commit d908f6b1b4
9 changed files with 41 additions and 14 deletions
+2 -1
View File
@@ -91,7 +91,8 @@ describe('Docker Environment Integration Tests', () => {
const mozditDb = mongoClient.db('mozdit')
const siteConfig = await mozditDb.collection('site_config').findOne()
if (!siteConfig) throw new Error('site_config document not found')
expect(siteConfig).toBeTruthy()
expect(siteConfig).toHaveProperty('type', 'site_config')
expect(siteConfig).toHaveProperty('environment', 'development')