Skip to content

Commit cbfcb8c

Browse files
authored
chore: continuing to tweak prettier. forever and always (#24)
1 parent 8adc4ca commit cbfcb8c

File tree

1 file changed

+38
-42
lines changed

1 file changed

+38
-42
lines changed

.prettierrc

Lines changed: 38 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,40 @@
11
{
2-
"plugins": [
3-
"prettier-plugin-sh",
4-
"prettier-plugin-pkg",
5-
"prettier-plugin-go-template",
6-
"prettier-plugin-css-order",
7-
"prettier-plugin-toml",
8-
"prettier-plugin-tailwindcss"
9-
],
10-
"overrides": [
11-
{
12-
"files": ["*.html"],
13-
"options": {
14-
"parser": "go-template",
15-
"goTemplateBracketSpacing": true,
16-
"bracketSameLine": true,
17-
"embeddedLanguageFormatting": "off",
18-
"htmlWhitespaceSensitivity": "strict"
19-
}
20-
},
21-
{
22-
"files": ["*.md"],
23-
"options": {
24-
"embeddedLanguageFormatting": "off"
25-
}
26-
},
27-
{
28-
"files": ["*.toml"],
29-
"options": {
30-
"indentTables": true,
31-
"indentEntries": true,
32-
"alignEntries": true
33-
}
34-
}
35-
],
36-
"tailwindStylesheet": "./assets/css/main.css",
37-
"tailwindConfig": "./tailwind.config.js",
38-
"tailwindFunctions": ["tw"],
39-
"cssDeclarationSorterOrder": "smacss",
40-
"trailingComma": "es5",
41-
"tabWidth": 4,
42-
"semi": false,
43-
"singleQuote": true
2+
"plugins": [
3+
"prettier-plugin-sh",
4+
"prettier-plugin-pkg",
5+
"prettier-plugin-go-template",
6+
"prettier-plugin-css-order",
7+
"prettier-plugin-toml",
8+
"prettier-plugin-tailwindcss"
9+
],
10+
"overrides": [
11+
{
12+
"files": ["*.html"],
13+
"options": {
14+
"parser": "go-template",
15+
"goTemplateBracketSpacing": true,
16+
"bracketSameLine": true,
17+
"embeddedLanguageFormatting": "off",
18+
"htmlWhitespaceSensitivity": "strict"
19+
}
20+
},
21+
{
22+
"files": ["*.md"],
23+
"options": {
24+
"embeddedLanguageFormatting": "off"
25+
}
26+
},
27+
{
28+
"files": ["*.toml"],
29+
"options": {
30+
"indentTables": true,
31+
"indentEntries": true,
32+
"alignEntries": true
33+
}
34+
}
35+
],
36+
"tailwindStylesheet": "./assets/css/main.css",
37+
"tailwindConfig": "./tailwind.config.js",
38+
"tailwindFunctions": ["tw"],
39+
"cssDeclarationSorterOrder": "smacss"
4440
}

0 commit comments

Comments
 (0)