Skip to content

RUST

Linters

Linter Configuration key
clippy RUST

Linted files

  • File extensions:
    • .rs

Configuration in MegaLinter

Variable Description Default value
RUST_FILTER_REGEX_INCLUDE Custom regex including filter
RUST_FILTER_REGEX_EXCLUDE Custom regex excluding filter

Behind the scenes

Installation

  • Dockerfile commands :
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"