Skip to content

Commit 7ee66b5

Browse files
committed
add editor config to force some rules
1 parent 1183a97 commit 7ee66b5

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

src/ligretto_bot_clj/constants.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
(def socket-url "https://api.ligretto.app/")
44
(def api-url "https://core.ligretto.app/api")
5-
(def game-url "https://ligretto.app/game")
5+
(def game-url "https://ligretto.app/game")

src/ligretto_bot_clj/utils.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
(try
2222
(Integer/parseInt s)
2323
(catch Exception _
24-
nil)))
24+
nil)))

0 commit comments

Comments
 (0)