aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorzaverden <zaverden@yandex-team.com>2024-12-10 20:01:15 +0300
committerzaverden <zaverden@yandex-team.com>2024-12-10 20:43:00 +0300
commit84ade9fd39970a32ef7165980b1f2269944175d4 (patch)
treea25b9ed65d99c9f30181dcddcf5d3d80d671e22c /build
parenteb63fbfeb3d457403c1290a9d4ef893b1659226b (diff)
downloadydb-84ade9fd39970a32ef7165980b1f2269944175d4.tar.gz
feat(conf): disable eslint chunks for TS_LOCAL_CLI
commit_hash:ee7c4c8dd35159dbee0563f507c2fe3c0e445685
Diffstat (limited to 'build')
-rw-r--r--build/plugins/nots.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/plugins/nots.py b/build/plugins/nots.py
index 7615849861..7bf95dae9b 100644
--- a/build/plugins/nots.py
+++ b/build/plugins/nots.py
@@ -593,7 +593,10 @@ def _setup_eslint(unit: NotsUnitType) -> None:
extra_deps = df.CustomDependencies.test_depends_only(unit, (), {})[df.CustomDependencies.KEY].split()
dart_record[df.CustomDependencies.KEY] = " ".join(sort_uniq(deps + extra_deps))
- dart_record[df.LintFileProcessingTime.KEY] = str(ESLINT_FILE_PROCESSING_TIME_DEFAULT)
+
+ if unit.get("TS_LOCAL_CLI") != "yes":
+ # disable chunks for `ya tool nots`
+ dart_record[df.LintFileProcessingTime.KEY] = str(ESLINT_FILE_PROCESSING_TIME_DEFAULT)
data = ytest.dump_test(unit, dart_record)
if data: