mirror of
https://github.com/WhatsApp/erlang-language-platform.git
synced 2025-12-23 12:26:48 +00:00
Summary: We are getting some clippy warnings about [complex types](https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity), related to eqwalizer queries on salsa, e.g. ``` Result<Arc<BTreeMap<ModuleName, BTreeMap<Id, Arc<TypeDecl>>>>, Error>; ``` We believe this type is clear enough, so raise the threshold of the clippy lint to allow it. Also fix one other clippy warning about unreachable code. Reviewed By: ilya-klyuchnikov Differential Revision: D74248916 fbshipit-source-id: 7e9e603729ce480a6c193f9cba6129ee637be880
9 lines
246 B
TOML
9 lines
246 B
TOML
# Clippy parameter settings
|
|
|
|
# See https://doc.rust-lang.org/clippy/lint_configuration.html for possible settings
|
|
|
|
|
|
# Default is 250
|
|
# see https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
|
type-complexity-threshold = 350
|
|
|