mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-16 15:50:31 +08:00
🚨 增加 prettier
This commit is contained in:
19
.prettierrc
Normal file
19
.prettierrc
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"semi": true,
|
||||
"singleQuote": true,
|
||||
"jsxSingleQuote": true,
|
||||
"trailingComma": "es5",
|
||||
"bracketSpacing": true,
|
||||
"jsxBracketSameLine": false,
|
||||
"arrowParens": "always",
|
||||
"printWidth": 80,
|
||||
"embeddedLanguageFormatting": "auto",
|
||||
"htmlWhitespaceSensitivity": "ignore",
|
||||
"preserve": "preserve",
|
||||
"insertPragma": false,
|
||||
"quoteProps": "as-needed",
|
||||
"requirePragma": false,
|
||||
"endOfLine": "auto"
|
||||
}
|
||||
Reference in New Issue
Block a user