1
0
mirror of https://github.com/mgechev/revive.git synced 2025-04-21 11:56:55 +02:00

Update documentation for generated files

Related to #4
This commit is contained in:
mgechev 2018-06-01 10:30:40 -07:00
parent 6182489121
commit a6c7415c67
No known key found for this signature in database
GPG Key ID: 3C44F5A2A289C6BB
2 changed files with 2 additions and 2 deletions

View File

@ -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: `revive` can be configured with a TOML file. Here's a sample configuration with explanation for the individual properties:
```toml ```toml
# Ignores files with "GENERATED" header, similar to golint # When set to false, ignores files with "GENERATED" header, similar to golint
ignoreGeneratedHeader = true ignoreGeneratedHeader = true
# Sets the default severity to "warning" # Sets the default severity to "warning"

View File

@ -1,4 +1,4 @@
ignoreGeneratedHeader = true ignoreGeneratedHeader = false
severity = "warning" severity = "warning"
confidence = 0.8 confidence = 0.8
errorCode = 0 errorCode = 0