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.
- This is directly from the ESLint CLI docs.
"scripts": {
"lint": "eslint . --ext .js,.ts,.tsx",
}
*nix - ✅ Windows -
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745148056a4613737.html
评论列表(0条)