Tobias Hernstig

Results 318 comments of Tobias Hernstig

@josephsavona just a note that eslint-plugin-react is one of the recommended ones for e.g. Next.js: https://nextjs.org/docs/app/api-reference/config/eslint and it has 25 mill downloads, so it is a great plugin. But of...

> I would like to see `execFile` have a promisified counterpart as well, because very often I need to provide dynamic arguments to a command, and in that case, `exec`...

> I may be misunderstanding this, but doesn't `child_process.execSync` / `child_process.spawnSync` achieve this? You are misunderstanding. The functions you list are sync, not async. I think you need to read...

@dead-claudia does that proposal solve it with examples like `await exec()` versions? It was not immediately obvious in the PR description.

Ah, but the initial example was using `exec` and those examples are not, but I see you have `exec` as part of https://github.com/nodejs/node/issues/54799.

There has been activity, with several new upvotes.

@azadgupta1 @lachlanhunt I ran into this maybe 2 months ago, but never bothered to file an issue because I wanted to investigate first, and now I found this. I am...

Actually, can we just not add `jiti` as a development dependency to https://github.com/eslint/rewrite/blob/main/packages/mcp/package.json?

@azadgupta1 wouldn't the most simple fix be to include `jiti` into `devDependencies` in https://github.com/eslint/rewrite/blob/main/packages/mcp/package.json? Would that work?