Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: forbid using ioutil.ReadDir (#2377)

Yilong Li48cfed5cb61c
diff --git a/.golangci.yaml b/.golangci.yaml
index c06f9ab4b8..adfc06cb35 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -80,3 +80,4 @@ linters-settings:
forbidigo:
forbid:
- 'fmt\.Errorf(# Please use errors\.Wrap\|Wrapf\|Errorf instead)?'
+ - 'ioutil\.ReadDir(# Please use os\.ReadDir)?'