diff options
author | Mathias Lafeldt <mathias.lafeldt@gmail.com> | 2022-08-11 15:43:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 19:13:27 +0530 |
commit | 883269f1f183428f60c54223135d8dd25977b3cd (patch) | |
tree | 775a352e68fb85292861a92bd267b9b41fc33d74 /.cargo | |
parent | 25a1cc1b28ee2f37deb6305c0feb66d4eec50804 (diff) |
chore: move lint rules to cargo config for better editor integration (#15453)
Diffstat (limited to '.cargo')
-rw-r--r-- | .cargo/config.toml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index bb2ccd68b..cac99a377 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -12,3 +12,15 @@ rustflags = [ [target.aarch64-apple-darwin] rustflags = ["-C", "link-arg=-fuse-ld=lld"] + +[target.'cfg(all())'] +rustflags = [ + "-D", + "clippy::all", + "-D", + "clippy::await_holding_refcell_ref", + "-D", + "clippy::missing_safety_doc", + "-D", + "clippy::undocumented_unsafe_blocks", +] |