chore: initial deepsource config (#556)

This commit is contained in:
Bo-Yi Wu
2021-01-23 09:23:44 +08:00
committed by GitHub
parent 36bc4f0f4b
commit d32ca7f015

31
.deepsource.toml Normal file
View File

@@ -0,0 +1,31 @@
version = 1
[[analyzers]]
name = "go"
enabled = true
[analyzers.meta]
import_paths = ["github.com/appleboy/gorush"]
[[analyzers]]
name = "docker"
enabled = true
[analyzers.meta]
dockerfile_paths = ["docker/**"]
[[analyzers]]
name = "test-coverage"
enabled = true
[[analyzers]]
name = "secrets"
enabled = true
test_patterns = [
"**/**_test.go",
]
exclude_patterns = [
"**/examples/**"
]