diff --git a/clippy.toml b/clippy.toml index 4da41d009fbc..bd8f68dcbf99 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1,4 +1,4 @@ -# There is also a 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. msrv = "1.67" @@ -47,7 +47,7 @@ disallowed-types = [ # Allow-list of words for markdown in dosctrings https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown doc-valid-idents = [ - # You must also update the same list in `clippy_wasm/clippy.toml`! + # You must also update the same list in `scripts/clippy_wasm/clippy.toml`! "GitHub", "GLB", "GLTF", diff --git a/scripts/clippy_wasm.sh b/scripts/clippy_wasm.sh index ae721847078e..107a6c96049a 100755 --- a/scripts/clippy_wasm.sh +++ b/scripts/clippy_wasm.sh @@ -7,7 +7,7 @@ script_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) cd "$script_path/.." set -x -# Use clippy_wasm/clippy.toml -export CLIPPY_CONF_DIR="clippy_wasm" +# Use scripts/clippy_wasm/clippy.toml +export CLIPPY_CONF_DIR="scripts/clippy_wasm" cargo cranky --all-features --target wasm32-unknown-unknown --target-dir target_wasm -p re_viewer -- --deny warnings diff --git a/clippy_wasm/clippy.toml b/scripts/clippy_wasm/clippy.toml similarity index 100% rename from clippy_wasm/clippy.toml rename to scripts/clippy_wasm/clippy.toml