【发布时间】:2021-01-20 04:02:19
【问题描述】:
在 windows 环境 上运行 stylelint 命令时出错:
命令: "lint-styles": "stylelint ./src/views/{tokens,atoms,molecules,organisms}/**/*.scss --fix",
出现错误:
Error: No files matching the pattern "'./src/views/{tokens,atoms,molecules,organisms}/**/*.scss'" were found.
at globby.then (C:\workplace\Ulta\web-common\node_modules\stylelint\lib\standalone.js:212:12)
at process._tickCallback (internal/process/next_tick.js:68:7)
虽然在 Mac 上没有错误。我应该改变什么?
【问题讨论】:
标签: reactjs webpack eslint stylelint