12345678910111213141516171819202122 |
- {
- "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 // 可选,影响函数括号
- }
|