-
Notifications
You must be signed in to change notification settings - Fork 1
chore: consolidate eslint config under configs #1756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: consolidate eslint config under configs #1756
Conversation
❓ Code Generation Drift DetectionStatus: Automated by AE-Framework Codegen |
Quality Summary
|
Generate Artifacts PreviewGenerated at: 2026-01-23T22:45:11.417Z
|
🔍 Verification Summary
Unlinked (top 5)- Device registration publishes enough pre-keys and emits audit log (id: device-registration-publishes-enough-pre-keys-and-emits-audit-log) test:N/A impl:N/A formal:N/A - Invalid auth tag triggers audit violation for AES-GCM envelopes (id: invalid-auth-tag-triggers-audit-violation-for-aes-gcm-envelopes) test:N/A impl:N/A formal:N/A - Session rotation stays within forward secrecy thresholds (id: session-rotation-stays-within-forward-secrecy-thresholds) test:N/A impl:N/A formal:N/ALinked examples (up to 3)- Successful reservation (id: successful-reservation) test: [traceability/inventory.trace.test.ts](https://github.com/itdojp/ae-framework/blob/65989f9ceffb1bf8c113c9ea170cabc82a8c394e/tests/traceability/inventory.trace.test.ts) impl: [domain/inventory.ts](https://github.com/itdojp/ae-framework/blob/65989f9ceffb1bf8c113c9ea170cabc82a8c394e/src/domain/inventory.ts) formal: [tla+/Inventory.tla](https://github.com/itdojp/ae-framework/blob/65989f9ceffb1bf8c113c9ea170cabc82a8c394e/specs/formal/tla+/Inventory.tla) - Prevent negative stock (id: prevent-negative-stock) test: [traceability/inventory.trace.test.ts](https://github.com/itdojp/ae-framework/blob/65989f9ceffb1bf8c113c9ea170cabc82a8c394e/tests/traceability/inventory.trace.test.ts) impl: [domain/inventory.ts](https://github.com/itdojp/ae-framework/blob/65989f9ceffb1bf8c113c9ea170cabc82a8c394e/src/domain/inventory.ts) formal: [tla+/Inventory.tla](https://github.com/itdojp/ae-framework/blob/65989f9ceffb1bf8c113c9ea170cabc82a8c394e/specs/formal/tla+/Inventory.tla) - Idempotent by order id (id: idempotent-by-order-id) test: [traceability/inventory.trace.test.ts](https://github.com/itdojp/ae-framework/blob/65989f9ceffb1bf8c113c9ea170cabc82a8c394e/tests/traceability/inventory.trace.test.ts) impl: [domain/inventory.ts](https://github.com/itdojp/ae-framework/blob/65989f9ceffb1bf8c113c9ea170cabc82a8c394e/src/domain/inventory.ts) formal: [tla+/Inventory.tla](https://github.com/itdojp/ae-framework/blob/65989f9ceffb1bf8c113c9ea170cabc82a8c394e/specs/formal/tla+/Inventory.tla)Hit basis (tests/formal)- Test hits: title=3 id=0 tag=0 - Formal hits: title=0 id=3 tag=0Non-OK modules (top 5)- KvOnce (log: artifacts/codex/KvOnce.tlc.log.txt) - KvOnceRefinement (log: artifacts/codex/KvOnceRefinement.tlc.log.txt) - KvOnceImpl (log: artifacts/codex/KvOnceImpl.tlc.log.txt) - KvOnce (log: artifacts/codex/KvOnce.tlc.log.txt) - KvOnceRefinement (log: artifacts/codex/KvOnceRefinement.tlc.log.txt) |
CodeX Artifacts Summary
|
KvOnce Trace Validation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR consolidates the repository’s ESLint flat config into configs/ while keeping the root-level eslint.config.js as a thin compatibility entrypoint.
Changes:
- Move the full ESLint flat config into
configs/eslint.config.js. - Replace the root
eslint.config.jswith a re-export wrapper. - Update the lint summary script to hash
configs/eslint.config.jsfirst (fallback to root).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| scripts/quality/check-lint-summary.mjs | Prefer hashing configs/eslint.config.js when computing configHash for lint summaries. |
| eslint.config.js | Convert to a small wrapper that re-exports the consolidated config under configs/. |
| configs/eslint.config.js | Host the full ESLint v9 flat configuration (previously in the root config). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
背景
変更
configs/eslint.config.jsに集約eslint.config.jsはconfigs/eslint.config.jsを re-export する薄いエントリに変更scripts/quality/check-lint-summary.mjsの configHash はconfigs/eslint.config.jsを優先してハッシュ化(存在しない場合は従来通りeslint.config.js)テスト
pnpm -s exec eslint --print-config src/utils/enhanced-state-manager.ts(config load の確認)影響
ロールバック
関連