google / gts

☂️ TypeScript style guide, formatter, and linter.

Home Page:https://github.com/google/gts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: await execa without async wrapper

daxeh opened this issue · comments

package: execa
line 148, 159

 await execa('node', ['./node_modules/eslint/bin/eslint', ...flags], {stdio: 'inherit',  });

it does not seem to be in a valid async/await scope.

Same issue.
Here the cli frozen on node version.

The solution in the moment for me is change gts commands for eslint . --ext .ts,.tsx --fix --no-error-on-unmatched-pattern

@daxeh could you provide an example of the code that is failing, I think I'm not fulling understanding the issue.