# 是否加分号 semi: true # 一行最多多少个字符换行 printWidth: 100 # 末尾逗号,可选 'none' | 'es5' | 'all' trailingComma: 'all' # 缩进空格数 tabWidth: 4 # 对象大括号间是否加空格 { foo: bar } bracketSpacing: true # 箭头函数参数是否加括号 (x) => x arrowParens: 'always' # 换行符类型 endOfLine: 'auto' # 是否使用单引号 这里配置的是不使用 单引号 为true则为使用单引号 singleQuote: false # 对象属性名是否加引号 quoteProps: 'as-needed' # JSX 中是否使用单引号 jsxSingleQuote: false # 作用:Vue