You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
433 B
11 lines
433 B
4 days ago
|
module.exports = {
|
||
|
printWidth: 220,
|
||
|
singleQuote: true, // 使用单引号而不是双引号
|
||
|
semi: true, // 句尾是否加;
|
||
|
proseWrap: 'preserve',
|
||
|
tabWidth: 4,
|
||
|
trailingComma: 'es5', // 在对象或数组最后一个元素后面是否加逗号(在ES5中加尾逗号)
|
||
|
bracketSpacing: true, // 在对象,数组括号与文字之间加空格 "{ foo: bar }"
|
||
|
htmlWhitespaceSensitivity: 'ignore', // > 不乱换行
|
||
|
};
|