17 releases
0.1.3 | Jun 2, 2021 |
---|---|
0.1.2 | May 21, 2021 |
0.1.0-pre.14 | Apr 29, 2021 |
0.1.0-pre.3 | Mar 29, 2021 |
#9 in #dylint
47KB
981 lines
Example Dylint libraries
Each subdirectory besides src
contains an example Dylint library.
The current examples are:
allow_clippy
: A tongue-in-cheek example of a Dylint libraryclippy
: All of the Clippy lints as a Dylint libraryenv_literal
: A lint to check for environment variables referred to with string literalspath_separator_in_string_literal
: A lint to check for path separators in string literalsquestion_mark_in_expression
: A lint to check for the?
operator in expressions
Notes
- Each example is in its own workspace so that it can have its own
rust-toolchain
. - Each example is configured to use the installed copy of
dylint-link
. To use the copy within this repository, change the example's.cargo/config.toml
file as follows:[target.x86_64-unknown-linux-gnu] linker = "../../target/debug/dylint-link"
Dependencies
~9MB
~229K SLoC