Commit 2fb69fd
authored
refactor(eslint/eqeqeq): clean up implementation and improve documentation (#13527)
## Refactor and Standardize: `eslint/eqeqeq`
This PR refactors the implementation of the `eqeqeq` rule to make the
codebase more **idiomatic Rust**, improving readability,
maintainability, and alignment with Rust best practices.
In addition, the rule documentation has been **standardized and
enhanced** following the documentation skeleton described in #13389.
### Changes included
* Refactored rule logic with clearer naming, early returns, and
idiomatic Rust patterns (`if let`, `Option`, `Iterator`, etc.).
* Improved structure for better readability and maintainability.
* Standardized rule documentation for consistency across the linter
rules.
> [!NOTE]
> This PR is focused solely on refactoring and documentation; no test
behavior is modified.1 parent b6d2546 commit 2fb69fd
1 file changed
+192
-108
lines changed
0 commit comments