最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Cross platform ESLint command to run on current directory recursively? - Stack Overflow

programmeradmin0浏览0评论

I'm looking to create a cross-platform package.json mand to lint all .js, .ts, .tsx files in the current directory, recursively.

Here's what I've tried.

  1. This is directly from the ESLint CLI docs.
"scripts": {
  "lint": "eslint . --ext .js,.ts,.tsx",
}

*nix - ✅ Windows -

发布评论

评论列表(0)

  1. 暂无评论