mirror of
https://github.com/FJ-OMS/oms-erp.git
synced 2024-09-20 15:26:28 +08:00
14 lines
762 B
JavaScript
14 lines
762 B
JavaScript
module.exports = {
|
||
endOfLine: 'auto', //换行 自动
|
||
printWidth: 100, // 每行代码长度(默认80)
|
||
singleQuote: true, // 使用单引号(默认false)
|
||
tabWidth: 2, //缩进
|
||
useTabs: false, // 是否使用tab进行缩进(默认false)
|
||
trailingComma: 'all', // 多行使用拖尾逗号(默认none)
|
||
semi: true, // 声明结尾使用分号(默认true)
|
||
bracketSpacing: true, // 对象字面量的大括号间使用空格(默认true)
|
||
jsxBracketSameLine: false, // 多行JSX中的>放置在最后一行的结尾,而不是另起一行(默认false)
|
||
jsxSingleQuote: true, // 在jsx中使用单引号代替双引号
|
||
arrowParens: 'avoid', // 只有一个参数的箭头函数的参数是否带圆括号(默认avoid)
|
||
};
|