mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-10 02:41:14 +00:00
fbd6b8933d
- Split serial build-and-test job into parallel backend, frontend, docker-validate, and e2e jobs - backend job: build → test → lint (new ESLint) → npm audit --audit-level=high - frontend job: build → lint → npm audit --audit-level=high - docker-validate job: builds image on every PR without pushing; Trivy scans for CRITICAL/HIGH CVEs (informational) - e2e job: runs full Playwright suite against live dev servers after backend+frontend pass - Add backend/eslint.config.mjs and lint script to backend/package.json
16 lines
381 B
JavaScript
16 lines
381 B
JavaScript
import js from '@eslint/js'
|
|
import tseslint from 'typescript-eslint'
|
|
|
|
export default tseslint.config(
|
|
{ ignores: ['dist'] },
|
|
{
|
|
files: ['src/**/*.ts'],
|
|
extends: [js.configs.recommended, ...tseslint.configs.recommended],
|
|
languageOptions: { ecmaVersion: 2022 },
|
|
rules: {
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
'no-console': 'off',
|
|
},
|
|
},
|
|
)
|