{ "printWidth": 100, //每行最多多少个字符换行 "singleQuote": true, //单引号 "trailingComma": "es5", // 对象属性最后有 "," "semi":true //是否需要分号 } trailingComma,最后 b : 2 后面是否有“,” { a:1, b:2, }