mirror of
https://github.com/mgechev/revive.git
synced 2025-04-23 11:58:51 +02:00
docs: typo in add-constant configuration (#1018)
This commit is contained in:
parent
1b9010aff0
commit
a0fcd5a3c5
@ -91,7 +91,7 @@ _Description_: Suggests using constant for [magic numbers](https://en.wikipedia.
|
|||||||
_Configuration_:
|
_Configuration_:
|
||||||
|
|
||||||
* `maxLitCount` : (string) maximum number of instances of a string literal that are tolerated before warn.
|
* `maxLitCount` : (string) maximum number of instances of a string literal that are tolerated before warn.
|
||||||
* `allowStr`: (string) comma-separated list of allowed string literals
|
* `allowStrs`: (string) comma-separated list of allowed string literals
|
||||||
* `allowInts`: (string) comma-separated list of allowed integers
|
* `allowInts`: (string) comma-separated list of allowed integers
|
||||||
* `allowFloats`: (string) comma-separated list of allowed floats
|
* `allowFloats`: (string) comma-separated list of allowed floats
|
||||||
* `ignoreFuncs`: (string) comma-separated list of function names regexp patterns to exclude
|
* `ignoreFuncs`: (string) comma-separated list of function names regexp patterns to exclude
|
||||||
|
Loading…
x
Reference in New Issue
Block a user