|
@@ -1,20 +1,22 @@
|
|
|
{
|
|
|
- "printWidth": 150,
|
|
|
- "tabWidth": 2,
|
|
|
- "useTabs": false,
|
|
|
- "semi": true,
|
|
|
- "singleQuote": true,
|
|
|
- "quoteProps": "preserve",
|
|
|
- "jsxSingleQuote": false,
|
|
|
- "bracketSameLine": false,
|
|
|
- "trailingComma": "none",
|
|
|
- "bracketSpacing": true,
|
|
|
- "embeddedLanguageFormatting": "auto",
|
|
|
- "arrowParens": "always",
|
|
|
- "requirePragma": false,
|
|
|
- "insertPragma": false,
|
|
|
- "proseWrap": "preserve",
|
|
|
- "htmlWhitespaceSensitivity": "css",
|
|
|
- "vueIndentScriptAndStyle": false,
|
|
|
- "endOfLine": "auto"
|
|
|
-}
|
|
|
+ "printWidth": 150,
|
|
|
+ "tabWidth": 2,
|
|
|
+ "useTabs": false,
|
|
|
+ "semi": true,
|
|
|
+ "singleQuote": true,
|
|
|
+ "quoteProps": "preserve",
|
|
|
+ "jsxSingleQuote": false,
|
|
|
+ "bracketSameLine": false,
|
|
|
+ "trailingComma": "none",
|
|
|
+ "bracketSpacing": false,
|
|
|
+
|
|
|
+ "embeddedLanguageFormatting": "auto",
|
|
|
+ "arrowParens": "always",
|
|
|
+ "requirePragma": false,
|
|
|
+ "insertPragma": false,
|
|
|
+ "proseWrap": "preserve",
|
|
|
+ "htmlWhitespaceSensitivity": "css",
|
|
|
+ "vueIndentScriptAndStyle": false,
|
|
|
+ "endOfLine": "auto",
|
|
|
+ "spaceBeforeFunctionParen": true // 可选,影响函数括号
|
|
|
+}
|