mirror of
https://github.com/kataras/iris.git
synced 2026-01-17 17:05:59 +00:00
fixed code quality issues using DeepSource
* Combine multiple `append`s into a single call * Remove unnecessary use of slice * Replace `strings.Index` with `strings.Contains` * Added .deepsource.toml config file for DeepSource integration
This commit is contained in:
committed by
shubhendra
parent
551462b3c8
commit
8ab500bd6c
17
.deepsource.toml
Normal file
17
.deepsource.toml
Normal file
@@ -0,0 +1,17 @@
|
||||
version = 1
|
||||
|
||||
test_patterns = ["**/*_test.go"]
|
||||
|
||||
exclude_patterns = [
|
||||
"_examples/**",
|
||||
"_benchmarks/**",
|
||||
".github/**"
|
||||
]
|
||||
|
||||
[[analyzers]]
|
||||
name = "go"
|
||||
enabled = true
|
||||
|
||||
[analyzers.meta]
|
||||
import_paths = ["github.com/kataras/iris"]
|
||||
|
||||
Reference in New Issue
Block a user