mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 13:32:08 +01:00
refactor: fix biome linting issues and update project documentation
- Fix 36+ biome linting issues reducing errors/warnings from 227 to 191 - Replace explicit 'any' types with proper TypeScript interfaces - Fix React hooks dependencies and useCallback patterns - Resolve unused variables and parameter assignment issues - Improve accessibility with proper label associations - Add comprehensive API documentation for admin and security features - Update README.md with accurate PostgreSQL setup and current tech stack - Create complete documentation for audit logging, CSP monitoring, and batch processing - Fix outdated project information and missing developer workflows
This commit is contained in:
@ -31,6 +31,9 @@
|
||||
"test:vitest:coverage": "vitest run --coverage",
|
||||
"test:security-headers": "pnpm exec tsx scripts/test-security-headers.ts",
|
||||
"test:security": "pnpm test:vitest tests/unit/http-security-headers.test.ts tests/integration/security-headers-basic.test.ts tests/unit/security.test.ts",
|
||||
"test:csp": "pnpm exec tsx scripts/test-csp.ts",
|
||||
"test:csp:validate": "pnpm exec tsx scripts/validate-csp-implementation.ts",
|
||||
"test:csp:full": "pnpm test:csp && pnpm test:csp:validate && pnpm test:vitest tests/unit/enhanced-csp.test.ts tests/integration/csp-middleware.test.ts tests/integration/csp-report-endpoint.test.ts",
|
||||
"lint:md": "markdownlint-cli2 \"**/*.md\" \"!.trunk/**\" \"!.venv/**\" \"!node_modules/**\"",
|
||||
"lint:md:fix": "markdownlint-cli2 --fix \"**/*.md\" \"!.trunk/**\" \"!.venv/**\" \"!node_modules/**\"",
|
||||
"migration:backup": "pnpm exec tsx scripts/migration/backup-database.ts full",
|
||||
|
||||
Reference in New Issue
Block a user