Skip to content

Commit

Permalink
Update lints after sync
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Sep 28, 2022
1 parent 13e9c52 commit d792c3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/arithmetic_side_effects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 4 additions & 0 deletions src/docs/similar_names.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit d792c3a

Please sign in to comment.