I’m currently compiling a list of rust examples useful for my use cases (beginner here). I saw that one can create examples in the
examples/ directory and run them with
cargo run --example the_example.
What I’m missing though with this approach is the linting of the files. I’m using neovim and ale for linting. For library or main code, it is awesome. For files in the
examples/ directory though the linting is not done. Advices?