hookehuyr

fix

...@@ -7,3 +7,5 @@ dist-ssr ...@@ -7,3 +7,5 @@ dist-ssr
7 doc 7 doc
8 .vscode 8 .vscode
9 publish.sh 9 publish.sh
10 +src/views/test/*
11 +src/store/test.js
......
1 module.exports = { 1 module.exports = {
2 - printWidth: 100, 2 + printWidth: 100, // 代码行的宽度,通用建议每行最大长度建议为100/120,但最好不超过这两个数。
3 - semi: true, 3 + tabWidth: 2, // 指定每次缩进的空格数。
4 + semi: true, // 是否在代码语句结尾添加分号。
4 vueIndentScriptAndStyle: true, 5 vueIndentScriptAndStyle: true,
5 - singleQuote: true, 6 + singleQuote: true, // 是否使用单引号,JSX单独设置。
6 - trailingComma: 'all', 7 + trailingComma: 'all', // 在多行以逗号分割的句法中尽可能补充尾行逗号。
8 + bracketSpacing: true, // 是否在对象属性与大括号之间填充空格。
9 + bracketSameLine: false, // 开始标签的右尖括号是否跟随在最后一行属性末尾。
7 proseWrap: 'never', 10 proseWrap: 'never',
8 htmlWhitespaceSensitivity: 'strict', 11 htmlWhitespaceSensitivity: 'strict',
9 - endOfLine: 'auto', 12 + endOfLine: 'auto', // 设置换行风格,避免不同操作系统造成的大量代码diff。
13 + singleAttributePerLine: false // 在Html,Vue,JSX中是否强制每条属性占用一行。
10 }; 14 };
......