feat: add prettier config.

This commit is contained in:
Rintim 2024-04-16 02:42:14 +08:00
parent ed7bbd57e5
commit a1cafc0be6
No known key found for this signature in database
GPG Key ID: BE9E1EA615BACFCF
1 changed files with 12 additions and 0 deletions

12
.prettierrc Normal file
View File

@ -0,0 +1,12 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf",
"printWidth": 110,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"semi": true,
"tabWidth": 4,
"trailingComma": "es5",
"useTabs": true
}