Skip to content

Commit

Permalink
Move clippy_wasm/clippy.toml to under scripts (#1949)
Browse files Browse the repository at this point in the history
* Move clippy_wasm/clippy.toml to under scripts

This is just to clean up the root a bit, and to move it closer
to where it is actually used.

* Fix comment typo

---------

Co-authored-by: Andreas Reich <andreas@rerun.io>
  • Loading branch information
emilk and Wumpf authored Apr 21, 2023
1 parent 593a34b commit 858f86d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions clippy.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions scripts/clippy_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
File renamed without changes.

0 comments on commit 858f86d

Please sign in to comment.