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

Fix invalid toml in rule.add-constant example ()

This commit is contained in:
Florian Karuhtz 2023-05-15 13:56:34 +02:00 committed by GitHub
parent e20c7788f9
commit cd336fc457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -92,7 +92,7 @@ Example:
```toml
[rule.add-constant]
arguments = [{maxLitCount = "3",allowStrs ="\"\"",allowInts="0,1,2",allowFloats="0.0,0.,1.0,1.,2.0,2.","ignoreFuncs": "os\\.*,fmt\\.Println,make"}]
arguments = [{ maxLitCount = "3", allowStrs = "\"\"", allowInts = "0,1,2", allowFloats = "0.0,0.,1.0,1.,2.0,2.", ignoreFuncs = "os\\.*,fmt\\.Println,make" }]
```
## argument-limit