mirror of
https://github.com/mgechev/revive.git
synced 2025-04-23 11:58:51 +02:00
parent
6182489121
commit
a6c7415c67
@ -69,7 +69,7 @@ revive -config revive.toml -exclude file1.go -exclude file2.go -formatter friend
|
||||
`revive` can be configured with a TOML file. Here's a sample configuration with explanation for the individual properties:
|
||||
|
||||
```toml
|
||||
# Ignores files with "GENERATED" header, similar to golint
|
||||
# When set to false, ignores files with "GENERATED" header, similar to golint
|
||||
ignoreGeneratedHeader = true
|
||||
|
||||
# Sets the default severity to "warning"
|
||||
|
@ -1,4 +1,4 @@
|
||||
ignoreGeneratedHeader = true
|
||||
ignoreGeneratedHeader = false
|
||||
severity = "warning"
|
||||
confidence = 0.8
|
||||
errorCode = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user