use-ink / ink

Polkadot's ink! to write smart contracts.
https://use.ink
Apache License 2.0
1.34k stars 425 forks source link

Add links to linter warning details on use.ink #2169

Closed cmichi closed 5 months ago

cmichi commented 5 months ago

The warnings that our linter outputs look like this:

image

Each lint is documented in more detail at e.g. https://use.ink/linter/rules/strict_balance_equality.

Atm of writing this we haven't switched the default content of use.ink to 5.x, but that'll happen today and then the link will work. Right now it's https://use.ink/5.x/linter/rules/strict_balance_equality.

Please put a link to the details for each linting rule on use.ink into the warning message.