The README for submitting PR states that the submitted code should be formatted with rustfmt.
Since there is already a script that is used to format existing exercises, should it be used in the Travis CI to check the format of the submitted code?
Also as of Rust 1.29 the cargo clippy command works on stable. Should it also be used in Travis to ensure that the submitted code is idiomatic?
The README for submitting PR states that the submitted code should be formatted with
rustfmt.Since there is already a script that is used to format existing exercises, should it be used in the Travis CI to check the format of the submitted code?
Also as of Rust 1.29 the
cargo clippycommand works on stable. Should it also be used in Travis to ensure that the submitted code is idiomatic?