Skip to content

Split up ink_linting into two dylint libraries #2006

@jubnzv

Description

@jubnzv

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.

For more context see: use-ink/cargo-contract#1412 (comment)

Metadata

Metadata

Assignees

Labels

A-linterIssue regarding the ink! linter.B-feature-requestA request for a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions