diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 0000000000000..2ebc97cf45585 --- /dev/null +++ b/clippy.toml @@ -0,0 +1 @@ +doc-valid-idents = ["sRGB", "NaN", "iOS", "glTF", "GitHub", "WebGPU"] diff --git a/tools/ci/src/main.rs b/tools/ci/src/main.rs index 76bc476c11c60..336db74da7db3 100644 --- a/tools/ci/src/main.rs +++ b/tools/ci/src/main.rs @@ -13,7 +13,7 @@ fn main() { // See if clippy has any complaints. // - Type complexity must be ignored because we use huge templates for queries - cmd!("cargo clippy --workspace --all-targets --all-features -- -D warnings -A clippy::type_complexity") + cmd!("cargo clippy --workspace --all-targets --all-features -- -D warnings -A clippy::type_complexity -W clippy::doc_markdown") .run() .expect("Please fix clippy errors in output above.");