ruff/crates/ty_server/src
Andrew Gallant 25853e2377 Allow the if_not_else Clippy lint
Specifically, the [`if_not_else`] lint will sometimes flag
code to change the order of `if` and `else` bodies if this
would allow a `!` to be removed. While perhaps tasteful in
some cases, there are many cases in my experience where this
bows to other competing concerns that impact readability.
(Such as the relative sizes of the `if` and `else` bodies,
or perhaps an ordering that just makes the code flow in a
more natural way.)

[`if_not_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#/if_not_else
2025-09-09 08:49:25 -04:00
..
document [ty] Added support for "document highlights" language server feature. (#19515) 2025-07-24 13:06:25 -07:00
server [ty] Make auto-import completions opt-in via an experimental option 2025-09-03 09:57:26 -04:00
session [ty] Correct default value for experimental rename setting 2025-09-03 09:57:26 -04:00
capabilities.rs [ty] Ask the LSP client to watch all project search paths 2025-08-19 10:57:07 -04:00
document.rs [ty] Fix stale documents on Windows (#18544) 2025-06-09 16:39:11 +02:00
lib.rs [ty] Support LSP client settings (#19614) 2025-08-06 18:37:21 +05:30
logging.rs [ty] Speedup tracing checks (#19965) 2025-08-18 12:56:06 +02:00
server.rs [ty] Log server version at info level (#19961) 2025-08-18 07:16:53 +00:00
session.rs Allow the if_not_else Clippy lint 2025-09-09 08:49:25 -04:00
system.rs [ty] Disallow std::env and io methods in most ty crates (#20046) 2025-08-22 11:13:47 -07:00