admin管理员组

文章数量:1415484

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 -

本文标签: javascriptCross platform ESLint command to run on current directory recursivelyStack Overflow