alunduil / alunduil/collection-json.hs

Enable hlint `Use explicit module export list` warning

Đang mở
#170 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement infrastructure
Ngôn ngữ chính
Haskell
Star
3
Fork
1
Merge trung bình
5 giờ 32 phút
Pull request đã merge (30 ngày)
67

Mô tả

## Summary

Turn on hlint's off-by-default `Use explicit module export list` hint to
guard PVP-classified export surface.

## Motivation

Under PVP an incidental export forces a major version bump (see the scope
discipline section in `CLAUDE.md`). This hint bans `module X (module X) where`
and implicit whole-namespace modules, so a future module can't silently
export its internals. Surfaced while assessing the full hlint config in #132.
Zero hits today — the sole module already carries an explicit export list —
so it's pure forward insurance.

## Scope

- Add `- warn: {name: Use explicit module export list}` to `hlint.yaml`.

## Acceptance criteria

- [ ] Hint enabled in `hlint.yaml`.
- [ ] CI stays green.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.