-
Notifications
You must be signed in to change notification settings - Fork 51
/
.cljstyle
108 lines (107 loc) · 2.68 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
{:files
{:extensions #{"cljc" "cljs" "clj" "cljx"},
:ignore #{".hg" ".git", "target", "scratch"}},
: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? false},
: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? true,
:padding-lines 1},
:indentation
{:enabled? true,
:list-indent 2,
:indents
{are [[:block 2]],
when-first [[:block 1]],
cond->> [[:block 1]],
while [[:block 1]],
try [[:block 0]],
bound-fn [[:inner 0]],
thrown-with-msg? [[:block 2]],
match [[:block 1]],
testing [[:block 1]],
if-not [[:block 1]],
doseq [[:block 1]],
finally [[:block 0]],
deftype [[:block 1] [:inner 1]],
when-let [[:block 1]],
go [[:block 0]],
if-some [[:block 1]],
with-precision [[:block 1]],
let [[:block 1]],
defstruct [[:block 1]],
doto [[:block 1]],
future [[:block 0]],
fn [[:inner 0]],
alt! [[:block 0]],
as-> [[:block 1]],
do [[:block 0]],
when-not [[:block 1]],
when [[:block 1]],
#"^def" [[:inner 0]],
#"^with-" [[:inner 0]],
extend [[:block 1]],
go-loop [[:block 1]],
defn [[:inner 0]],
if [[:block 1]],
ns [[:block 1]],
deftest [[:inner 0]],
extend-type [[:block 1] [:inner 1]],
defmethod [[:inner 0]],
struct-map [[:block 1]],
extend-protocol [[:block 1] [:inner 1]],
cond-> [[:block 1]],
dotimes [[:block 1]],
reify [[:inner 0] [:inner 1]],
with-open [[:block 1]],
defonce [[:inner 0]],
defn- [[:inner 0]],
alt!! [[:block 0]],
defprotocol [[:block 1] [:inner 1]],
letfn [[:block 1] [:inner 2 0]],
use-fixtures [[:inner 0]],
loop [[:block 1]],
with-out-str [[:block 0]],
condp [[:block 2]],
cond [[:block 0]],
for [[:block 1]],
binding [[:block 1]],
with-local-vars [[:block 1]],
defmacro [[:inner 0]],
proxy [[:block 2] [:inner 1]],
with-redefs [[:block 1]],
locking [[:block 1]],
defmulti [[:inner 0]],
if-let [[:block 1]],
case [[:block 1]],
catch [[:block 2]],
thread [[:block 0]],
comment [[:block 0]],
defrecord [[:block 1] [:inner 1]],
thrown? [[:block 1]],
when-some [[:block 1]],
def [[:inner 0]]
tests [[:inner 0]],
with [[:inner 0]],
}},
:vars {:enabled? true}}}