1
0
mirror of https://github.com/mgechev/revive.git synced 2025-03-17 20:57:58 +02:00

Merge pull request #93 from xuri/miscellaneous

Doc updated: fix typo (see #91 and #92)
This commit is contained in:
SalvadorC 2018-11-06 07:07:17 +01:00 committed by GitHub
commit 623ef04eb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ List of all available rules.
- [increment-decrement](#increment-decrement) - [increment-decrement](#increment-decrement)
- [indent-error-flow](#indent-error-flow) - [indent-error-flow](#indent-error-flow)
- [imports-blacklist](#imports-blacklist) - [imports-blacklist](#imports-blacklist)
- [line-lenght-limit](#line-lenght-limit) - [line-length-limit](#line-length-limit)
- [max-public-structs](#max-public-structs) - [max-public-structs](#max-public-structs)
- [modifies-parameter](#modifies-parameter) - [modifies-parameter](#modifies-parameter)
- [modifies-value-receiver](#modifies-value-receiver) - [modifies-value-receiver](#modifies-value-receiver)
@ -289,7 +289,7 @@ Example:
arguments =["crypto/md5", "crypto/sha1"] arguments =["crypto/md5", "crypto/sha1"]
``` ```
## line-lenght-limit ## line-length-limit
_Description_: Warns in the presence of code lines longer than a configured maximum. _Description_: Warns in the presence of code lines longer than a configured maximum.
@ -298,7 +298,7 @@ _Configuration_: (int) maximum line length in characters.
Example: Example:
```toml ```toml
[line-lenght-limit] [line-length-limit]
arguments =[80] arguments =[80]
``` ```