-
Notifications
You must be signed in to change notification settings - Fork 480
Closed
Labels
A-linterIssue regarding the ink! linter.Issue regarding the ink! linter.B-feature-requestA request for a new feature.A request for a new feature.
Description
Since use-ink/cargo-contract#1076 we require contracts to be annotated with a no_mainouter attribute. We added a feature in cargo_contract to check for the error use-ink/cargo-contract#1113, but it involves some brittle code to intercept and redirect the stderr output of cargo-contract in order to catch the specific error.
If it is possible to check for attributes, it would be preferable to do this as a lint.
Metadata
Metadata
Assignees
Labels
A-linterIssue regarding the ink! linter.Issue regarding the ink! linter.B-feature-requestA request for a new feature.A request for a new feature.