-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.prettierrc.js
60 lines (60 loc) · 1.08 KB
/
.prettierrc.js
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
module.exports = {
pugPrintWidth: 140,
pugSingleQuote: false,
pugAttributeSeparator: 'none',
pugEmptyAttributes: 'none',
singleQuote: true,
printWidth: 140,
trailingComma: 'none',
tabWidth: 2,
semi: false,
bracketSpacing: true,
arrowParens: 'avoid',
pugSortAttributesBeginning: [
'^cols$',
'^v-else$',
'^v-for$',
'^:key$',
'^v-if$',
'^v-else-if$',
'^v-on$',
'^v-bind$',
'^ref$',
'^v-model',
'^name$',
'^:?type$',
'^:value$',
'^v-text$',
'^:?label$',
'^:headers$',
'^:items$',
'^:?item-text$',
'^:?item-value$',
'^:?item-disabled$',
'^:?placeholder$',
'^:?src$',
'^:?color$',
'^:?text-color$',
'^:?icon$',
'^:?small$'
],
pugSortAttributesEnd: [
'^:?hint$',
'^:?persistent-hint$',
'^prepend-',
'^@click:prepend',
'^append-',
'^@click:append',
'^:to$',
'^exact$',
'^:(?!(width|height|loading|disabled|data-))',
'^target$',
'^:?width$',
'^:?height$',
'^:loading$',
'^:disabled$',
'^:?data-',
'^@click',
'^@'
]
}