ワンクリックで
code-quality-excellence
// Enforce code quality with ESLint, TypeScript strict mode, Knip unused detection, and quality gates for MCP servers
// Enforce code quality with ESLint, TypeScript strict mode, Knip unused detection, and quality gates for MCP servers
C4 architecture model, security architecture, Mermaid diagrams, SECURITY_ARCHITECTURE.md, and comprehensive documentation per Hack23 Secure Development Policy
AI-augmented development controls, GitHub Copilot governance, LLM security, AI-generated code review per Hack23 Secure Development Policy
EU AI Act compliance, OWASP LLM security, responsible AI practices for parliamentary data and MCP server applications
ISO 27001, NIST CSF 2.0, CIS Controls v8.1, EU CRA compliance mapping, multi-standard alignment per Hack23 ISMS policies
Contribution process with PR workflow, code review standards, commit conventions, and open source best practices
Clear technical documentation with JSDoc, READMEs, Mermaid diagrams, ISMS policy references, and comprehensive code examples
| name | code-quality-excellence |
| description | Enforce code quality with ESLint, TypeScript strict mode, Knip unused detection, and quality gates for MCP servers |
| license | Apache-2.0 |
Maintain high code quality through automated static analysis, TypeScript strict mode, and quality gates for MCP server projects.
{
"compilerOptions": {
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUncheckedIndexedAccess": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"exactOptionalPropertyTypes": true
}
}
// eslint.config.js
import tseslint from 'typescript-eslint';
export default tseslint.config(
tseslint.configs.strictTypeChecked,
{
rules: {
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/prefer-nullish-coalescing': 'error',
'@typescript-eslint/strict-boolean-expressions': 'error',
'@typescript-eslint/explicit-function-return-type': 'error',
}
}
);
| Metric | Threshold |
|---|---|
| Test coverage | ≥80% lines, ≥70% branches |
| Security coverage | ≥95% for security-critical code |
| TypeScript errors | 0 |
| ESLint errors | 0 |
| Unused exports (Knip) | 0 |
| License violations | 0 |
npm run lint # ESLint check
npx tsc --noEmit # Type checking
npm run knip # Unused detection
npm test # Unit tests
npm run test:coverage # Coverage report
npm run test:licenses # License compliance
Core policies:
npm run test:licenses, SBOMSupporting policies: