Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ffd06fb

Browse files
committedNov 6, 2024
add prettier for consistent formatting
1 parent faa4436 commit ffd06fb

20 files changed

+833
-562
lines changed
 

‎.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

‎.prettierrc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"printWidth": 100,
3+
"trailingComma": "none",
4+
"tabWidth": 2,
5+
"semi": true,
6+
"singleQuote": true,
7+
"bracketSpacing": true,
8+
"bracketSameLine": false,
9+
"arrowParens": "always",
10+
"endOfLine": "auto",
11+
"jsxSingleQuote": false,
12+
"proseWrap": "always",
13+
"quoteProps": "consistent",
14+
"useTabs": false,
15+
"htmlWhitespaceSensitivity": "css"
16+
}

0 commit comments

Comments
 (0)
Please sign in to comment.