Tienson Qin 1 месяц назад
Родитель
Сommit
ec0cc4549b
2 измененных файлов с 3 добавлено и 2 удалено
  1. 2 1
      deps/common/bb.edn
  2. 1 1
      deps/common/src/logseq/common/plural.cljs

+ 2 - 1
deps/common/bb.edn

@@ -23,4 +23,5 @@
 
  :tasks/config
  {:large-vars
-  {:max-lines-count 45}}}
+  {:metadata-exceptions #{:large-vars/cleanup-todo}
+   :max-lines-count 45}}}

+ 1 - 1
deps/common/src/logseq/common/plural.cljs

@@ -182,7 +182,7 @@
 ;; Data initialization (same as original JS)
 ;; -----------------------------------------------------------------------------
 
-(defn- init-irregulars! []
+(defn- ^:large-vars/cleanup-todo init-irregulars! []
   (doseq [[s p]
           ;; Pronouns + irregulars
           [["I" "we"]