⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@prk-Jr
Copy link
Collaborator

@prk-Jr prk-Jr commented Jan 22, 2026

Setup workspace lints to enforce coding standards
and catch issues during development.

Resolves: #189

@prk-Jr prk-Jr linked an issue Jan 22, 2026 that may be closed by this pull request
@prk-Jr prk-Jr self-assigned this Jan 22, 2026
@prk-Jr prk-Jr marked this pull request as ready for review January 22, 2026 13:37
@prk-Jr prk-Jr requested a review from aram356 January 22, 2026 13:38
Copy link
Collaborator

@aram356 aram356 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start.

@prk-Jr prk-Jr requested a review from aram356 January 27, 2026 14:01
Copy link
Collaborator

@aram356 aram356 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good

Setup workspace lints to enforce coding standards
and catch issues during development. 303 tests pass.

Resolves: #189
Comprehensive documentation of error and panic conditions improves API
clarity and enables gradual enforcement of missing_errors_doc and
missing_panics_doc lints. This establishes a foundation for better
error handling practices across the codebase.

Resolves: #189
The default lint configuration was permissive, allowing unwrap() and
panic() in production code. This change enforces stricter error handling
by denying these patterns and requiring explicit expect() messages.

IntegrationRegistry::new() previously panicked on configuration errors,
making startup failures hard to diagnose. Returning Result allows the
caller to log meaningful context before returning an error response.

Additional pedantic lints (needless_pass_by_value, redundant_closure)
help catch common inefficiencies during development.
@prk-Jr prk-Jr force-pushed the 189-add-clippy-lints-configuration-to-enforce-codebase-consistency branch from 8fe64ef to 3bc62da Compare January 28, 2026 13:01
Add needless_pass_by_value and redundant_closure_for_method_calls
to the list of lints to consider enabling as the codebase matures.
…configuration-to-enforce-codebase-consistency
Fixes clippy::doc_markdown by wrapping the example URL in the
origin_override field documentation with angle brackets.
@prk-Jr prk-Jr requested a review from aram356 January 28, 2026 14:20
Copy link
Collaborator

@aram356 aram356 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add clippy lints configuration to enforce codebase consistency

4 participants