Skip to content

Commit 1fc4e50

Browse files
committed
lint: add prettier config
1 parent 47e40bc commit 1fc4e50

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.prettierrc.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"printWidth": 80,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"semi": false,
6+
"singleQuote": true,
7+
"proseWrap": "preserve",
8+
"trailingComma": "none",
9+
"bracketSpacing": true,
10+
"arrowParens": "avoid",
11+
"overrides": [
12+
{
13+
"files": "*.md",
14+
"options": {
15+
"parser": "markdown",
16+
"printWidth": 80,
17+
"proseWrap": "preserve"
18+
}
19+
}
20+
]
21+
}

0 commit comments

Comments
 (0)