Skip to content

Commit

Permalink
add editor config to force some rules
Browse files Browse the repository at this point in the history
  • Loading branch information
bondiano committed Sep 18, 2023
1 parent 1183a97 commit 7ee66b5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion src/ligretto_bot_clj/constants.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

(def socket-url "https://api.ligretto.app/")
(def api-url "https://core.ligretto.app/api")
(def game-url "https://ligretto.app/game")
(def game-url "https://ligretto.app/game")
2 changes: 1 addition & 1 deletion src/ligretto_bot_clj/utils.clj
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
(try
(Integer/parseInt s)
(catch Exception _
nil)))
nil)))

0 comments on commit 7ee66b5

Please sign in to comment.