eclipse-score / eclipse-score/score
Populate and document meaningful Clippy strict and relaxed profiles
- Dominant language
- Starlark
- Stars
- 109
- Forks
- 105
- Avg merge
- 22h 15m
- Merged PRs (30d)
- 22
Description
### What
The score_rust_policies repository already contains placeholder Clippy profiles under clippy/strict and clippy/relaxed.
The goal of this task is to define a curated and documented set of Clippy lints and configuration options for both profiles, providing consistent linting guidance for Rust projects within S-CORE.
The profiles should be based on evaluation of current Rust community best practices, including recommendations from:
https://emschwartz.me/your-clippy-config-should-be-stricter/
https://billylevin.dev/posts/clippy-config/
Special attention should be given to lints relevant for quality- and safety-oriented software development, such as panic handling, unsafe code usage, error handling, and correctness-related checks.
### Acceptance Criteria (DoD)
- The strict profile contains a documented set of enabled Clippy lints and configuration settings.
- The relaxed profile contains a documented set of enabled Clippy lints and configuration settings.
- The rationale for enabling or disabling notable lint groups is documented.
- The differences between the strict and relaxed profiles are documented.
- The proposed profiles have been validated against at least one existing S-CORE Rust repository.
### How
- Evaluate Clippy lint groups such as pedantic, nursery and selected restriction lints.
- Review recommendations from the referenced articles and assess their applicability to S-CORE.
- Identify lints that should be:
- enabled in both profiles,
- enabled only in the strict profile,
- explicitly disabled.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.