Linters in this Repository
Code Format Linting with rustfmt
Can be automatically validated with cargo run -p ci
(which also runs other checks). Running this command will actually format the code:
Code Linting with Clippy
Can be automatically run with cargo run -p ci
(which also runs other checks) or manually with this command:
Explanation:
-D warnings
: No warnings are allowed in the codebase.
super-linter
super-linter
provides easy access to many different Linters.
markdownlint
markdownlint
is provided by super-linter
and is responsible for .md
files. Its configuration is saved in the .markdown-lint.yml file.
The provided rules are documented here and information about setting the config can be seen here.
Using VS Code markdownlint
If you want to use the VS Code Extension with the rules defined in .markdown-lint.yml, then you need to create a local config file in the root of the project with the configuration below. Currently, this is not needed as the extension already disables the rule MD013
by default.
Other Linters provided by super-linter
All other linters not mentioned in this file are not activated and can be seen here.