1
0
mirror of https://github.com/mgechev/revive.git synced 2025-03-31 21:55:29 +02:00

docs: typo in add-constant configuration (#1018)

This commit is contained in:
Amin Cheloh 2024-07-30 15:34:54 +07:00 committed by GitHub
parent 1b9010aff0
commit a0fcd5a3c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,7 +91,7 @@ _Description_: Suggests using constant for [magic numbers](https://en.wikipedia.
_Configuration_:
* `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
* `allowFloats`: (string) comma-separated list of allowed floats
* `ignoreFuncs`: (string) comma-separated list of function names regexp patterns to exclude