Impl prettier to project
- Add prettier json config - Format project with prettier config - Enable prettier in zed project settings Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
21
.prettierrc.json
Normal file
21
.prettierrc.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"printWidth": 120,
|
||||
"tabWidth": 4,
|
||||
"useTabs": false,
|
||||
"semi": true,
|
||||
"singleQuote": true,
|
||||
"quoteProps": "as-needed",
|
||||
"jsxSingleQuote": true,
|
||||
"trailingComma": "all",
|
||||
"bracketSpacing": true,
|
||||
"objectWarp": "preserve",
|
||||
"bracketSameLine": false,
|
||||
"arrowParens": "always",
|
||||
"parser": "typescript",
|
||||
"poseWrap": "preserve",
|
||||
"htmlWhitespaceSensitivity": "ignore",
|
||||
"vueIndentScriptAndStyle": false,
|
||||
"endOfLine": "lf",
|
||||
"embeddedLanguageFormatting": "auto",
|
||||
"singleAttributePerLine": false
|
||||
}
|
||||
Reference in New Issue
Block a user