aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/go.conf
diff options
context:
space:
mode:
authorgzuykov <gzuykov@yandex-team.com>2024-04-20 08:53:26 +0300
committergzuykov <gzuykov@yandex-team.com>2024-04-20 09:08:45 +0300
commitaed0d7a803f63c28bb7eb37540614fecd7676220 (patch)
tree7da7141b896465738828286d429dea0f4c453f73 /build/conf/go.conf
parenta354b930f9b8de59bcf45f7fae8c585dd29c8cc4 (diff)
downloadydb-aed0d7a803f63c28bb7eb37540614fecd7676220.tar.gz
yolint: enable riskyimports with config
enable riskyimports with config 195d42df9f8bb1f686ac4a78d39b8be844df66ec
Diffstat (limited to 'build/conf/go.conf')
-rw-r--r--build/conf/go.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/conf/go.conf b/build/conf/go.conf
index 6cf067a48a..e5e384c018 100644
--- a/build/conf/go.conf
+++ b/build/conf/go.conf
@@ -709,11 +709,11 @@ module _GO_BASE_UNIT: _BASE_UNIT {
_GO_VET=yes
PEERDIR+=build/external_resources/yolint
_GO_VET_TOOL=${YOLINT_RESOURCE_GLOBAL}/yolint
- _GO_VET_FLAGS=-migration.config=${input:"${ARCADIA_ROOT}/build/rules/go/migrations.yaml"} -scopelint.config=${input:"${ARCADIA_ROOT}/build/rules/go/extended_lint.yaml"}
+ _GO_VET_FLAGS=-migration.config=${input:"${ARCADIA_ROOT}/build/rules/go/migrations.yaml"} -scopelint.config=${input:"${ARCADIA_ROOT}/build/rules/go/extended_lint.yaml"} -riskyimports.config=${input:"${ARCADIA_ROOT}/build/rules/go/risky_imports.yaml"}
}
"local" ? {
_GO_VET=yes
- _GO_VET_FLAGS=-migration.config=${input:"${ARCADIA_ROOT}/build/rules/go/migrations.yaml"} -scopelint.config=${input:"${ARCADIA_ROOT}/build/rules/go/extended_lint.yaml"}
+ _GO_VET_FLAGS=-migration.config=${input:"${ARCADIA_ROOT}/build/rules/go/migrations.yaml"} -scopelint.config=${input:"${ARCADIA_ROOT}/build/rules/go/extended_lint.yaml"} -riskyimports.config=${input:"${ARCADIA_ROOT}/build/rules/go/risky_imports.yaml"}
}
default ? {
_GO_VET=no