作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
最近我将我的项目 eslint 包更新为 "eslint": "^6.8.0"
.这是我看到错误的时候
Oops! Something went wrong! :(
ESLint: 6.8.0.
No files matching the pattern "lint" were found.
Please check for typing mistakes in the pattern.
"lint": "eslint lint --color src -f ./node_modules/eslint-friendly-formatter src/ tests/unit/__mocks__/ --ext .json --ext .js -c .eslintrc.js",
--no-error-on-unmatched-pattern
.我不确定为什么需要将此标志添加到我的脚本中。
最佳答案
我想人们在版本 5 上也遇到过这个问题。。看到这个问题
https://github.com/eslint/eslint/issues/10587--no-error-on-unmatched-pattern
被添加以忽略此类问题。
关于javascript - Eslint "No files matching the pattern "lint“被发现。请检查模式中的输入错误。”错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60345326/
我是一名优秀的程序员,十分优秀!