Skip to content

Commit 0359291

Browse files
committed
always disable non-standard JS Doc warnings for JS modules
add :watch to list of compiler options
1 parent 09d5969 commit 0359291

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/clojure/cljs/closure.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
:emit-constants :ups-externs :ups-foreign-libs :ups-libs :warning-handlers :preloads
168168
:browser-repl :cache-analysis-format :infer-externs :closure-generate-exports :npm-deps
169169
:fn-invoke-direct :checked-arrays :closure-module-roots :rewrite-polyfills :use-only-custom-externs
170-
:watch-error-fn :watch-fn :install-deps})
170+
:watch :watch-error-fn :watch-fn :install-deps})
171171

172172
(def string->charset
173173
{"iso-8859-1" StandardCharsets/ISO_8859_1
@@ -1620,6 +1620,7 @@
16201620
(select-keys
16211621
[:closure-warnings :closure-extra-annotations :pretty-print
16221622
:language-in :language-out :closure-module-roots :rewrite-polyfills])
1623+
(assoc-in [:closure-warnings :non-standard-jsdoc] :off)
16231624
(set-options (CompilerOptions.))))
16241625

16251626
(defn get-js-root [closure-compiler]

0 commit comments

Comments
 (0)