mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-10-13 21:51:07 +00:00
style 代码格式配置
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
module.exports = {
|
||||
printWidth: 100,
|
||||
semi: true,
|
||||
vueIndentScriptAndStyle: true,
|
||||
singleQuote: true,
|
||||
trailingComma: 'all',
|
||||
proseWrap: 'never',
|
||||
htmlWhitespaceSensitivity: 'strict',
|
||||
endOfLine: 'auto',
|
||||
tabWidth: 2, //指定每个缩进级别的空格数
|
||||
printWidth: 100, //超过多少换行
|
||||
semi: false, //行位是否使用分号
|
||||
vueIndentScriptAndStyle: true, // vue文件的script标签和Style标签下的内容需要缩进
|
||||
singleQuote: true, // 强制使用单引号
|
||||
trailingComma: 'all', // 尾部逗号设置, 强制最后一行也要有斗号
|
||||
proseWrap: 'never', // 文章换行,默认情况下会对你的markdown文件换行进行format会控制在printwidth以内
|
||||
htmlWhitespaceSensitivity: 'strict', // html中的空格敏感性
|
||||
endOfLine: 'lf', // 行尾换行符,默认是lf
|
||||
plugins: ['prettier-plugin-packagejson'],
|
||||
overrides: [
|
||||
{
|
||||
|
Reference in New Issue
Block a user