-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprettier.json
More file actions
51 lines (51 loc) · 1.35 KB
/
prettier.json
File metadata and controls
51 lines (51 loc) · 1.35 KB
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
{
"$schema": "http://json.schemastore.org/prettierrc",
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"requirePragma": false,
"insertPragma": false,
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
"endOfLine": "lf",
"embeddedLanguageFormatting": "auto",
"singleAttributePerLine": false,
"pluginSearchDirs": false,
"plugins": ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-blade", "prettier-plugin-tailwindcss"],
"tailwindFunctions": ["clsx", "cn"],
"importOrder": ["^react", "<THIRD_PARTY_MODULES>", "^@app/(.*)$", "^@vendor/(.*)$", "^[./]"],
"importOrderSeparation": false,
"importOrderSortSpecifiers": false,
"importOrderGroupNamespaceSpecifiers": false,
"importOrderCaseInsensitive": false,
"importOrderParserPlugins": ["typescript", "jsx"],
"importOrderSideEffects": true,
"overrides": [
{
"files": ["*.blade.php"],
"options": {
"parser": "blade"
}
},
{
"files": ["*.yaml", "*.yml"],
"options": {
"singleQuote": false
}
},
{
"files": ["*.md", "*.mdx"],
"options": {
"proseWrap": "always"
}
}
]
}