Add links to linter warning details on use.ink
cmichi opened this issue · comments
The warnings that our linter outputs look like this:
![image](https://private-user-images.githubusercontent.com/241530/312402056-be9312ac-8e82-4503-9e80-d087c186752b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2NDc1OTcsIm5iZiI6MTcyMTY0NzI5NywicGF0aCI6Ii8yNDE1MzAvMzEyNDAyMDU2LWJlOTMxMmFjLThlODItNDUwMy05ZTgwLWQwODdjMTg2NzUyYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyMlQxMTIxMzdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNDRlMzFmMzZjNTdkYzQyMjMyMDA3ODJiOGM0Y2MwNTk1ODc4MzlhZGI4NWIyNmM1NjQ0NjBkOGVlY2JhYTU5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.YvkuR8MffZAaUlNFYyZJsZqYIAe4sXdL8I_gb_f163U)
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.