forked from logseq/logseq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.edn
126 lines (121 loc) · 5.54 KB
/
config.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{:ns-groups [{:pattern "frontend.components.*" :name all-components}]
:config-in-ns
;; :used-underscored-binding is turned off for components because of false positive
;; for rum/defcs and _state.
{all-components {:linters {:used-underscored-binding {:level :off}}}
;; false positive with match/match and _
frontend.handler.paste {:linters {:used-underscored-binding {:level :off}}}
frontend.db {:linters {:aliased-namespace-symbol
{:exclude [frontend.db.conn frontend.db.react logseq.db.default]}}}}
:linters
{:aliased-namespace-symbol {:level :warning}
;; Disable until it doesn't trigger false positives on rum/defcontext
:earmuffed-var-not-dynamic {:level :off}
:unresolved-symbol {:exclude [goog.DEBUG
goog.string.unescapeEntities
;; TODO:lint: Fix when fixing all type hints
object]}
;; TODO:lint: Remove node-path excludes once we have a cleaner api
:unresolved-var {:exclude [frontend.util/node-path.basename
frontend.util/node-path.dirname
frontend.util/node-path.join
frontend.util/node-path.extname
frontend.util/node-path.name
;; frontend.pubsub/def-mult-or-pub generate vars clj-kondo cannot resolve
frontend.pubsub]}
:consistent-alias
{:aliases {cljs.reader reader
cljs-time.core t
cljs-time.coerce tc
datascript.core d
datascript.transit dt
datascript.db ddb
electron.ipc ipc
electron.utils utils
"/electron/utils" js-utils
frontend.commands commands
frontend.config config
frontend.date date
frontend.db db
frontend.db-mixins db-mixins
frontend.db.query-dsl query-dsl
frontend.db.react react
frontend.db.query-react query-react
frontend.db.util db-utils
frontend.diff diff
frontend.encrypt encrypt
frontend.extensions.sci sci
frontend.format.mldoc mldoc
frontend.format.block block
frontend.fs fs
frontend.fs.bfs bfs
frontend.fs.capacitor-fs capacitor-fs
frontend.fs.nfs nfs
frontend.handler.extract extract
frontend.handler.common common-handler
frontend.handler.common.file file-common-handler
frontend.handler.common.plugin plugin-common-handler
frontend.handler.config config-handler
frontend.handler.events events
frontend.handler.global-config global-config-handler
frontend.handler.ui ui-handler
frontend.handler.notification notification
frontend.handler.page page-handler
frontend.handler.plugin plugin-handler
frontend.handler.plugin-config plugin-config-handler
frontend.handler.repo repo-handler
frontend.handler.repo-config repo-config-handler
frontend.handler.route route-handler
frontend.handler.search search-handler
frontend.idb idb
frontend.loader loader
frontend.mixins mixins
frontend.mobile.util mobile-util
frontend.page page
frontend.search search
frontend.state state
frontend.template template
frontend.test.helper test-helper
frontend.ui ui
frontend.util util
frontend.util.clock clock
frontend.util.property property
frontend.util.persist-var persist-var
frontend.util.text text-util
frontend.util.url url-util
frontend.util.thingatpt thingatpt
lambdaisland.glogi log
logseq.graph-parser graph-parser
logseq.graph-parser.text text
logseq.graph-parser.block gp-block
logseq.graph-parser.mldoc gp-mldoc
logseq.graph-parser.util gp-util
logseq.graph-parser.property gp-property
logseq.graph-parser.config gp-config
logseq.graph-parser.util.page-ref page-ref
logseq.graph-parser.util.block-ref block-ref
logseq.graph-parser.util.db db-util
logseq.graph-parser.date-time-util date-time-util
medley.core medley
promesa.core p}}
:namespace-name-mismatch {:level :warning}
:used-underscored-binding {:level :warning}}
:hooks {:analyze-call {rum.core/defc hooks.rum/defc
rum.core/defcs hooks.rum/defcs}}
:lint-as {promesa.core/let clojure.core/let
promesa.core/loop clojure.core/loop
promesa.core/recur clojure.core/recur
rum.core/defcc rum.core/defc
rum.core/with-context clojure.core/let
rum.core/defcontext clojure.core/def
clojure.test.check.clojure-test/defspec clojure.core/def
clojure.test.check.properties/for-all clojure.core/for
;; src/main
frontend.modules.outliner.datascript/auto-transact! clojure.core/let
frontend.namespaces/import-vars potemkin/import-vars
;; src/test
frontend.test.helper/deftest-async clojure.test/deftest
frontend.test.helper/with-reset cljs.test/async
frontend.react/defc clojure.core/defn}
:skip-comments true
:output {:progress true}}