Tencent / wepy

小程序组件化开发框架
https://wepyjs.gitee.io/wepy-docs/
Other
22.54k stars 3.05k forks source link

编译的时候报错Please use space for indentation. #2498

Open mikasayw opened 4 years ago

mikasayw commented 4 years ago

编译的时候终端一直报错 ^ Please use space for indentation. 环境: wepy 2.0.0-alpha.2

Observed Results

[实际表现]

image

[期望表现]

不报错

Relevant Code / Logs

quany commented 4 years ago

html 语法规范

mikasayw commented 4 years ago

html 语法规范

  • 规范定义文件:node_modules/@wepy/cli/core/ util/xmllint.js

@quany 我应该怎么做才能改变node_modules/@wepy/cli/core/ util/xmllint.js的DEFAULT_RULES默认规则

我试过了是 "space-tab-mixed-disabled"属性的问题

mikasayw commented 4 years ago

image 这个应该如何做才能改变默认规则 目前我只是直接修改node_modules/@wepy/cli/core/ util/xmllint.js中的文件"space-tab-mixed-disabled"的属性

@Gcaufy 作者大大

jumpymariox commented 4 years ago

请问这个问题现在有解决方案了吗?