itwinjs-core
itwinjs-core copied to clipboard
ES/TSLint integration - error after restarting server in vscode
Reproduction:
- Open the itwinjs-core library in vscode.
- Open a typescript file under core/common.
- Restart the eslint server (Open command palette and type/select "restart eslint server")
- Wait for server to restart. Note error on first character of file:
The issue is not restricted to core/common files, but was easily reproduced easily for files in that package.
Fiddling with the inherited eslint.config.base.js seems to help, but no concrete fix yet.
An open and close of the file in question seems to fix the issue... I'll keep this open while I investigate more. I've seen the error at other times, but paid it no mind. As @anmolshres98 has observed, eslint cli works fine.