Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsc-files --noEmit failed without output (ENOENT). can't log any reason #74

Open
vaynevayne opened this issue Jul 10, 2024 · 2 comments

Comments

@vaynevayne
Copy link

image
@jjohnson1994
Copy link

jjohnson1994 commented Oct 17, 2024

Also seeing this running tsc-files --noEmit --pretty with lint staged

{
  "src/**/*.{js,ts,vue}": [
    "npx eslint --cache",
    "npx vitest related --run"
  ],
  "e2e/**/*.{js,ts,vue}": [
    "npx eslint --cache"
  ],
  "**/*.ts": [
    "tsc-files --noEmit --pretty"
  ]
}

Did you find a fix @vaynevayne ?

@vaynevayne
Copy link
Author

@jjohnson1994 I no longer use this library. Maybe full testing is reasonable.

 "lint-staged": {
   "*.{js,tsx,ts}": [
     "eslint --quiet --fix",
     "prettier --write --ignore-unknown",
     "bash -c tsc --noEmit"
   ],
   "*.{less,css}": [
     "prettier --write --ignore-unknown"
   ]
 },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants