Skip to content

Commit 84ade9f

Browse files
committed
feat(conf): disable eslint chunks for TS_LOCAL_CLI
commit_hash:ee7c4c8dd35159dbee0563f507c2fe3c0e445685
1 parent eb63fbf commit 84ade9f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/plugins/nots.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,10 @@ def _setup_eslint(unit: NotsUnitType) -> None:
593593

594594
extra_deps = df.CustomDependencies.test_depends_only(unit, (), {})[df.CustomDependencies.KEY].split()
595595
dart_record[df.CustomDependencies.KEY] = " ".join(sort_uniq(deps + extra_deps))
596-
dart_record[df.LintFileProcessingTime.KEY] = str(ESLINT_FILE_PROCESSING_TIME_DEFAULT)
596+
597+
if unit.get("TS_LOCAL_CLI") != "yes":
598+
# disable chunks for `ya tool nots`
599+
dart_record[df.LintFileProcessingTime.KEY] = str(ESLINT_FILE_PROCESSING_TIME_DEFAULT)
597600

598601
data = ytest.dump_test(unit, dart_record)
599602
if data:

0 commit comments

Comments
 (0)