mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
dfccac348e
Just because it's fewer lines of code. 1. Invert `if`/`else` blocks with negative conditions. 2. Unwrap redundant `else` blocks. 3. Simplify a few branches to `let … else`. 4. Replace a `match` with `if let`. V3_GIT_ORIGIN_REV_ID: 4f10730b688d21c1fc86a45ee5fb4adf008b3d94
63 lines
1.6 KiB
TOML
63 lines
1.6 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
|
|
package.version = "0.1.0"
|
|
package.edition = "2021"
|
|
package.license = "Apache-2.0"
|
|
|
|
members = [
|
|
"crates/auth/*",
|
|
"crates/custom-connector",
|
|
"crates/engine",
|
|
"crates/execute",
|
|
"crates/lang-graphql",
|
|
"crates/metadata-resolve",
|
|
"crates/metadata-schema-generator",
|
|
"crates/open-dds",
|
|
"crates/query-usage-analytics",
|
|
"crates/schema",
|
|
"crates/utils/*",
|
|
]
|
|
|
|
[workspace.lints.clippy]
|
|
all = { level = "warn", priority = -1 }
|
|
pedantic = { level = "warn", priority = -1 }
|
|
# disable certain pedantic warnings
|
|
doc_markdown = "allow"
|
|
missing_errors_doc = "allow"
|
|
missing_panics_doc = "allow"
|
|
module_name_repetitions = "allow"
|
|
must_use_candidate = "allow"
|
|
wildcard_imports = "allow"
|
|
# disable these for now, but we should probably fix them
|
|
cast_precision_loss = "allow"
|
|
default_trait_access = "allow"
|
|
ignored_unit_patterns = "allow"
|
|
implicit_clone = "allow"
|
|
implicit_hasher = "allow"
|
|
inconsistent_struct_constructor = "allow"
|
|
inefficient_to_string = "allow"
|
|
inline_always = "allow"
|
|
manual_is_variant_and = "allow"
|
|
manual_string_new = "allow"
|
|
map_unwrap_or = "allow"
|
|
match_same_arms = "allow"
|
|
match_wildcard_for_single_variants = "allow"
|
|
result_large_err = "allow"
|
|
return_self_not_must_use = "allow"
|
|
semicolon_if_nothing_returned = "allow"
|
|
similar_names = "allow"
|
|
struct_field_names = "allow"
|
|
too_many_arguments = "allow"
|
|
too_many_lines = "allow"
|
|
uninlined_format_args = "allow"
|
|
unnecessary_box_returns = "allow"
|
|
unnecessary_wraps = "allow"
|
|
unnested_or_patterns = "allow"
|
|
unreadable_literal = "allow"
|
|
unused_async = "allow"
|
|
used_underscore_binding = "allow"
|
|
|
|
[workspace.lints.rustdoc]
|
|
private_intra_doc_links = "allow"
|