-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.prettierrc.yaml
More file actions
46 lines (43 loc) · 844 Bytes
/
.prettierrc.yaml
File metadata and controls
46 lines (43 loc) · 844 Bytes
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
### General
arrowParens: always
tabWidth: 4
useTabs: false
requirePragma: false
insertPragma: false
plugins:
- "@prettier/plugin-php"
- "@shufo/prettier-plugin-blade"
### PHP
phpVersion: "8.*"
trailingCommaPHP: true
braceStyle: psr-2
sortTailwindcssClasses: true
### Pattern-specific
overrides:
- files:
- "*.js"
- "*.ts"
- "*.jsx"
- "*.tsx"
- "*.vue"
options:
singleQuote: true
semi: false
trailingComma: none
- files:
- "*.yml"
- "*.yaml"
options:
tabWidth: 2
singleQuote: false
- files: "*.php"
options:
singleQuote: true
printWidth: 120
- files: "*.blade.php"
options:
parser: "blade"
printWidth: 120
wrapAttributes: "force-aligned"
sortHtmlAttributes: "code-guide"
sortTailwindcssClasses: true