-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.cljstyle
109 lines (109 loc) · 2.7 KB
/
.cljstyle
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
;; cljstyle configuration
{:files
{:extensions #{"cljc" "cljs" "clj" "cljx" "edn"},
:ignore #{"checkouts" "dev" ".hg" "target" ".git" "mulog_events.clj"}},
:rules
{:namespaces
{:enabled? false,
:indent-size 2,
:break-libs? true,
:import-break-width 60},
:whitespace
{:enabled? true,
:remove-surrounding? true,
:remove-trailing? true,
:insert-missing? true},
:comments
{:enabled? true,
:inline-prefix " ", :leading-prefix "; "},
:functions {:enabled? true},
:eof-newline {:enabled? true},
:types
{:enabled? true,
:types? true,
:protocols? true,
:reifies? true,
:proxies? true},
:blank-lines
{:enabled? true,
:trim-consecutive? true,
:max-consecutive 2,
:insert-padding? false,
:padding-lines 2},
:indentation
{:enabled? true,
:list-indent 1,
:indents
{
#"^def" [[:inner 0]],
#"^with-" [[:inner 0]],
alt! [[:block 0]],
alt!! [[:block 0]],
are [[:block 2]],
as-> [[:block 1]],
binding [[:block 1]],
bound-fn [[:inner 0]],
case [[:block 1]],
catch [[:block 2]],
comment [[:block 0]],
cond [[:block 0]],
cond-> [[:block 1]],
cond->> [[:block 1]],
condp [[:block 2]],
def [[:inner 0]]},
defmacro [[:inner 0]],
defmethod [[:inner 0]],
defmulti [[:inner 0]],
defn [[:inner 0]],
defn- [[:inner 0]],
defonce [[:inner 0]],
defprotocol [[:block 1] [:inner 1]],
defrecord [[:block 1] [:inner 1]],
defstruct [[:block 1]],
deftest [[:inner 0]],
deftype [[:block 1] [:inner 1]],
do [[:block 0]],
doseq [[:block 1]],
dotimes [[:block 1]],
doto [[:block 1]],
extend [[:block 1]],
extend-protocol [[:block 1] [:inner 1]],
extend-type [[:block 1] [:inner 1]],
finally [[:block 0]],
fn [[:inner 0]],
for [[:block 1]],
future [[:block 0]],
go [[:block 0]],
go-loop [[:block 1]],
if [[:block 1]],
if-let [[:block 1]],
if-not [[:block 1]],
if-some [[:block 1]],
let [[:block 1]],
letfn [[:block 1] [:inner 2 0]],
locking [[:block 1]],
loop [[:block 1]],
match [[:block 1]],
ns [[:block 1]],
proxy [[:block 2] [:inner 1]],
reify [[:inner 0] [:inner 1]],
struct-map [[:block 1]],
testing [[:block 1]],
thread [[:block 0]],
thrown-with-msg? [[:block 2]],
thrown? [[:block 1]],
try [[:block 0]],
use-fixtures [[:inner 0]],
when [[:block 1]],
when-first [[:block 1]],
when-let [[:block 1]],
when-not [[:block 1]],
when-some [[:block 1]],
while [[:block 1]],
with-local-vars [[:block 1]],
with-open [[:block 1]],
with-out-str [[:block 0]],
with-precision [[:block 1]],
with-redefs [[:block 1]]}},
:vars
{:enabled? false}}}