-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path.prettierrc.yaml
52 lines (48 loc) · 1.02 KB
/
.prettierrc.yaml
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
plugins:
- '@trivago/prettier-plugin-sort-imports'
- 'prettier-plugin-jsdoc'
- 'prettier-plugin-packagejson'
- 'prettier-plugin-sort-json'
- 'prettier-plugin-css-order'
- 'prettier-plugin-organize-attributes'
printWidth: 80
semi: false
singleQuote: true
trailingComma: 'none'
importOrderSeparation: true
importOrderSortSpecifiers: true
importOrder:
- '^vitepress$'
- '^vitepress([-/].*)?$'
- '^vue$'
- '^vite$'
- '^@[a-zA-Z0-9-]+/(.*)$'
- '^@/(.*)$'
- '^[./]'
- '^(.*)$'
overrides:
- files: ['*.json']
options:
jsonRecursiveSort: true
attributeGroups:
- '^((v-bind)?:?|v-)is$'
- '^v-for$'
- '^v-(if|else-if|else|show|cloak)$'
- '^v-(once|pre|memo)$'
- '^(v-bind)?:?id$'
- '^(v-bind)?:?key$'
- '^(v-bind)?:?ref$'
- '^(v-)?slot$'
- '^#'
- '^v-model$'
- '^v-(?!bind(:|$)|on(:|$)|html$|text$)'
- '^class$'
- '^(v-bind)?:class$'
- '^((v-bind)?:)?(?!data-|v-|:|@|#)'
- '$DEFAULT'
- '^((v-bind)?:)?data-'
- '^v-bind$'
- '^v-on:'
- '^@'
- '^v-html$'
- '^v-text$'