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 (#819)
This commit is contained in:
parent
e20c7788f9
commit
cd336fc457
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user