You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was interested in using the clinic tooling in order to profile our ESLint tooling to help figure out where some hotspots were. Most of the tools worked, but clinic doctor returns an empty profile.
I'm trying to reproduce it locally, but the process hangs and does not exit successfully. It might be because of lint error?
rafaelgss@rafaelgss-desktop:~/repos/os/tests/typescript-eslint$ clinic doctor -- node ./node_modules/.bin/eslint "**/*.ts"
To generate the report press: Ctrl + C
/home/rafaelgss/repos/os/tests/typescript-eslint/packages/typescript-estree/tests/lib/parse.test.ts
400:21 error Expect must have a corresponding matcher call jest/valid-expect
✖ 1 problem (1 error, 0 warnings)
Error: process exited by signal SIGABRT
at ChildProcess.<anonymous> (/home/rafaelgss/.nvm/versions/node/v19.3.0/lib/node_modules/clinic/node_modules/@clinic/doctor/index.js:133:13)
at Object.onceWrapper (node:events:628:26)
at ChildProcess.emit (node:events:513:28)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)
I was interested in using the clinic tooling in order to profile our ESLint tooling to help figure out where some hotspots were. Most of the tools worked, but
clinic doctor
returns an empty profile.Repro:
clinic doctor -- node ./node_modules/.bin/eslint "**/*.ts"
Profile data collected seems to be empty, report may not be generated
Am I doing something wrong? Is there some way that I can use the tooling for this usecase or is it just not supported?
The text was updated successfully, but these errors were encountered: