代码拉取完成,页面将自动刷新
module.exports = {
// Tab indent size, the default is 2
tabWidth: 2,
// Indent with tab. The default is false
// useTabs: true,
// Use semicolon. The default is true
semi: false,
// Use single quotation marks, and the default is false (the configuration in JSX is invalid, and the default is double quotation marks)
singleQuote: true,
//Comma at the end of the line, default to none, optional none | Es5 | all
//Es5 includes arrays and objects in Es5
//All includes all optional functions such as function objects
TrailingCooma: "none",
// The default value for spaces in objects is true
// true: { foo: bar }
// false: {foo: bar}
bracketSpacing: true,
// The JSX tag closing position defaults to false
// false: <div
// className=""
// style={{}}
// >
// true: <div
// className=""
// style={{}} >
jsxBracketSameLine: false,
//Arrow function parameter bracket default avoid optional avoid| always
//When avoid can omit parentheses, for example, x = > X
//Always has parentheses
arrowParens: 'always',
endOfLine: "auto"
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。