hiui icon indicating copy to clipboard operation
hiui copied to clipboard

开发环境添加终端 log

Open bougieL opened this issue 5 years ago • 3 comments

  • 添加 friendly-errors-webpack-plugin (参考 mirc)
  • standard 整合进 ESLint
  • stylelint 整合进 PostCSS
  • 添加 eslint-loader
  • 开发环境添加 postcss-loader,可在终端看见不规范的样式错误

bougieL avatar May 22 '19 02:05 bougieL

赞成,加了 eslint 是不是可以直接把 standard 去了,直接我们就用 recommend 就可以了吧。另外 prettier 也可以整合进 eslint

solarjoker avatar May 22 '19 07:05 solarjoker

@bougieL standard 整合进 ESLint 的目的是?

sivan avatar May 22 '19 09:05 sivan

@bougieL standard 整合进 ESLint 的目的是?

配合 eslint-loaderfriendly-errors-webpack-plugin, 可在开发时,终端实时展示不符合 standard 规范的错误 :milk_glass:

V9hFlF.gif

bougieL avatar May 22 '19 10:05 bougieL