1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-29 22:28:23 +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
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:
```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"

View File

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