Skip to content

feat(hooks): share formatter and linter policies with editors - #149

Merged
hakula139 merged 5 commits into
mainfrom
codex/editor-presets
Nov 28, 2026
Merged

hakula139 merged 5 commits into
mainfrom
codex/editor-presets

Conversation

@hakula139

@hakula139 hakula139 commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Share Markdown lint and format policy across native tools and Nix hooks. Resolve shared configs from the Devkit source and keep project overrides checkout-relative. See the hook guide.

Verification

  • nix flake check --all-systems and nix develop -c run-hooks passed.
  • Consumer fixtures verified store fallbacks, root Prettier and Taplo overrides, markdownlint inheritance, and matching native and Nix dprint output on macOS.

Expose the Markdown formatter and its config from the flake library, and build the Nix config from the native dprint config. Share markdownlint rules independently of CLI2 options and recognize standalone Prettier configs at the project root.
@hakula139 hakula139 added the enhancement New capability label Nov 28, 2026
@hakula139 hakula139 self-assigned this Nov 28, 2026
Keep consumer config discovery checkout-relative. Retain the root JSON override used by Devkit consumers and derive the store fallback from the same filename.
@hakula139
hakula139 merged commit ef58f47 into main Nov 28, 2026
3 checks passed
@hakula139
hakula139 deleted the codex/editor-presets branch November 28, 2026 16:46
hakula139 added a commit that referenced this pull request Nov 28, 2026
## Summary

Prepare v3.10.0 with a changelog entry for the shared Markdown presets
and Nix formatter exports from #149. Date the entry 2026-11-29 in
Asia/Shanghai.

## Verification

- `nix run .#changelog -- v3.10.0` generated the draft from v3.9.0.
- `nix flake check --all-systems`, `nix develop -c run-hooks`, and the
commit and push hooks passed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant