module.exports = { printWidth: 120, // 行长规则通常设置为100或120 singleQuote: true, // 使用单引号, 默认false semi: true, // 使用分号, 默认true arrowParens: 'avoid', // 箭头函数参数添加括号 trailingComma: 'es5', // 在ES5中有效的结尾逗号(对象,数组等) useTabs: true, // 在ES5中有效的结尾逗号(对象,数组等) };
module.exports = { printWidth: 120, // 行长规则通常设置为100或120 singleQuote: true, // 使用单引号, 默认false semi: true, // 使用分号, 默认true arrowParens: 'avoid', // 箭头函数参数添加括号 trailingComma: 'es5', // 在ES5中有效的结尾逗号(对象,数组等) useTabs: true, // 在ES5中有效的结尾逗号(对象,数组等) };
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。