mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
dev: rename prompts/clojure_errors.md to prompts/review.md
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
You're Clojure expert, you're responsible to check those common errors:
|
||||
|
||||
1. `empty?` should be used instead of `empty` when a boolean value is expected in an expression.
|
||||
8
prompts/review.md
Normal file
8
prompts/review.md
Normal file
@@ -0,0 +1,8 @@
|
||||
You're Clojure(script) expert, you're responsible to check those common errors:
|
||||
|
||||
- `empty?` should be used instead of `empty` when a boolean value is expected in an expression.
|
||||
|
||||
- `logseq.common.defkeywords/defkeywords`:
|
||||
`defkeywords` is a macro, and cljs vars should not be used in its parameter `keyvals`,
|
||||
because they cannot be evaluated at compile time
|
||||
|
||||
Reference in New Issue
Block a user