eclipse-score / eclipse-score/score

Consider custom linting for Rust API design guidelines

Open
#1,621 2 comments 0 reactions 0 assignees View on GitHub
lang:rust
Dominant language
Starlark
Stars
109
Forks
105
Avg merge
1d 9h
Merged PRs (30d)
24

Description

Description:
--------------

Currently, enforcement of the Rust API design guidelines (e.g. preferring traits for public APIs) is handled through code review.
In the future, once our Rust toolchain and processes are finalized (possibly via an ADR), we could explore introducing automated linting.

Options to investigate:

- Clippy: no direct support for custom lints.

- dylint: possible framework for custom lint rules.

- Alternative approaches: rustdoc JSON checks, cargo-public-api, etc.

Next steps:
------------

Keep this issue in the backlog for reference.

Revisit once tooling decisions are finalized.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.