Update lints after sync

This commit is contained in:
Philipp Krones 2022-09-28 14:36:56 +02:00
parent 67af127f24
commit 924c1ce97d
No known key found for this signature in database
GPG Key ID: 1CA0DF2AF59D68A5
2 changed files with 5 additions and 1 deletions

View File

@ -30,4 +30,4 @@ let _n = Decimal::MAX + Decimal::MAX;
```
### Allowed types
Custom allowed types can be specified through the "arithmetic-side-effects-allowed" filter.
Custom allowed types can be specified through the "arithmetic-side-effects-allowed" filter.

View File

@ -1,6 +1,10 @@
### What it does
Checks for names that are very similar and thus confusing.
Note: this lint looks for similar names throughout each
scope. To allow it, you need to allow it on the scope
level, not on the name that is reported.
### Why is this bad?
It's hard to distinguish between names that differ only
by a single character.