diff --git a/.vscode/settings.json b/.vscode/settings.json index 8ec1e4aa67f5..681dc12fe15f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -15,7 +15,7 @@ // Tell Rust Analyzer to use its own target directory, so we don't need to wait for it to finish wen we want to `cargo run` "rust-analyzer.check.overrideCommand": [ "cargo", - "cranky", + "clippy", "--target-dir=target_ra", "--workspace", "--message-format=json", @@ -24,7 +24,7 @@ ], "rust-analyzer.cargo.buildScripts.overrideCommand": [ "cargo", - "cranky", + "clippy", "--quiet", "--target-dir=target_ra", "--workspace", diff --git a/Cargo.toml b/Cargo.toml index c94baab2843e..0fd46f9ec0c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -237,11 +237,11 @@ verbose_file_reads = "warn" wildcard_dependencies = "warn" zero_sized_map_values = "warn" -# TODO(emilk): enable more of these linits: +# TODO(emilk): enable more of these lints: iter_over_hash_type = "allow" let_underscore_untyped = "allow" missing_assert_message = "allow" -print_stderr = "allow" # TODO(emilk): use `log` crate insteaditer_over_hash_type = "allow" +print_stderr = "allow" # TODO(emilk): use `log` crate instead should_panic_without_expect = "allow" too_many_lines = "allow" unwrap_used = "allow" # TODO(emilk): We really wanna warn on this one diff --git a/clippy.toml b/clippy.toml index d91f9666c479..f480ca93d7eb 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1,4 +1,4 @@ -# There is also a scripts/clippy_wasm/clippy.toml which forbids some mthods that are not available in wasm. +# There is also a scripts/clippy_wasm/clippy.toml which forbids some methods that are not available in wasm. # ----------------------------------------------------------------------------- # Section identical to scripts/clippy_wasm/clippy.toml: @@ -67,7 +67,7 @@ disallowed-types = [ # ----------------------------------------------------------------------------- -# Allow-list of words for markdown in dosctrings https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown +# Allow-list of words for markdown in docstrings https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown doc-valid-idents = [ # You must also update the same list in the root `clippy.toml`! "AccessKit",