Skip to content

Latest commit

 

History

History
 
 

linting

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ink! linting rules

This crate uses dylint to define custom linting rules for ink!;

It is not part of the workspace because it needs a custom linker to be built.

The lints are written against a fixed toolchain version because they are using unstable APIs. This is why we have a toolchain file here.

You can use it by running cargo dylint after adding this to your Cargo.toml:

[workspace.metadata.dylint]
libraries = [
    { git = "https://github.com/paritytech/ink.git", pattern = "linting/" },
]