You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ink_linting should be split up into two dylint-based libraries: ink_linting and ink_linting_extra.
In cargo-contract, we require only the essential lints that detect compilation errors in ink!; these are executed each time a contract is built. The lints from ink_linting_extra should remain optional, being executed only upon direct user request (e.g. cargo contract build --extra-lints). This approach is intended to speed up the build process.
Split `ink_linting` to `ink_linting_mandatory` and `ink_linting`.
Mandatory lints will be integrated in the `cargo-build` build
process in use-ink/cargo-contract#1412.
Extra lints are optional and could be run by the contract developer to
highlight possible issues with secure coding style and to check the
compliance with best practices.
For more information about this design decision, see: use-ink/cargo-contract#1412 (comment).
Closesuse-ink#2006
* feat(linter): Split `ink_linting` into two libraries
Split `ink_linting` to `ink_linting_mandatory` and `ink_linting`.
Mandatory lints will be integrated in the `cargo-build` build
process in use-ink/cargo-contract#1412.
Extra lints are optional and could be run by the contract developer to
highlight possible issues with secure coding style and to check the
compliance with best practices.
For more information about this design decision, see: use-ink/cargo-contract#1412 (comment).
Closes#2006
* chore: Update CHANGELOG
* feat: Run linting tests in github-actions
* fix(ci): Add caching for `linting` builds
* fix(ci): gh-actions syntax
* fix(ci)
* fix(ci): Remove `--locked` flag for linting
This is necessary, because the lockfile needs to be updated since we run
build with a different `rust-toolchain.yml`.
ink_linting
should be split up into twodylint
-based libraries:ink_linting
andink_linting_extra
.In
cargo-contract
, we require only the essential lints that detect compilation errors in ink!; these are executed each time a contract is built. The lints fromink_linting_extra
should remain optional, being executed only upon direct user request (e.g.cargo contract build --extra-lints
). This approach is intended to speed up the build process.For more context see: use-ink/cargo-contract#1412 (comment)
The text was updated successfully, but these errors were encountered: