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

ES/TSLint integration - error after restarting server in vscode #6576

Open
ben-polinsky opened this issue Apr 2, 2024 · 1 comment
Open
Labels
buildology Issues related to process, tooling or CI/CD pipelines

Comments

@ben-polinsky
Copy link
Contributor

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:
    image

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.

@ben-polinsky ben-polinsky added the buildology Issues related to process, tooling or CI/CD pipelines label Apr 2, 2024
@ben-polinsky
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
buildology Issues related to process, tooling or CI/CD pipelines
Projects
None yet
Development

No branches or pull requests

1 participant