Skip to content

chore: dogfood defineConfig() now that exadevConfig() satisfies it - #5

Merged
Mearman merged 1 commit into
mainfrom
chore/dogfood-defineconfig
Sep 6, 2026
Merged

chore: dogfood defineConfig() now that exadevConfig() satisfies it#5
Mearman merged 1 commit into
mainfrom
chore/dogfood-defineconfig

Conversation

@Mearman

@Mearman Mearman commented Sep 6, 2026

Copy link
Copy Markdown
Member

Follow-up to #4. The plain-array export in this file's eslint.config.ts existed specifically to route around the cross-package type gap #4 fixed. Now that exadevConfig()/defaultConfig are typed against @eslint/core's ConfigObject, they satisfy defineConfig() directly -- use it here too, as the first real, live proof consumers get real config validation and extends support rather than routing around it.

Test plan

  • pnpm typecheck clean
  • pnpm lint clean
  • pnpm test -- 347/347 passing
  • pnpm build + attw --pack -- no problems found

The plain-array export in this file existed specifically to route around
the cross-package type gap #4 just fixed (exadevConfig() was typed
against typescript-eslint's own Config, not @eslint/core's ConfigObject).
Now that exadevConfig() satisfies defineConfig() directly, use it here
too -- this file is the first real, live proof that consumers get real
config validation and extends support from defineConfig() rather than
routing around it.
@Mearman
Mearman marked this pull request as ready for review September 6, 2026 10:16
@Mearman
Mearman merged commit 011505a into main Sep 6, 2026
5 checks passed
@Mearman
Mearman deleted the chore/dogfood-defineconfig branch September 6, 2026 10:16
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-06T10:19:13.559282Z ed2d6a8 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.10.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant