Skip to content

Fix broken typescript-checkJS script. Store config for the script in jsconfig.json so that it is picked up by VS Code#1962

Closed
aweebit wants to merge 3 commits intotj:developfrom
aweebit:feature/jsconfig
Closed

Fix broken typescript-checkJS script. Store config for the script in jsconfig.json so that it is picked up by VS Code#1962
aweebit wants to merge 3 commits intotj:developfrom
aweebit:feature/jsconfig

Conversation

@aweebit
Copy link
Copy Markdown
Contributor

@aweebit aweebit commented Aug 13, 2023

This is an extension of #1960 renaming files in such a way that the right TSConfig is picked up by VS Code for live checks that lead to error highlighting.

  • tsconfig.checkJs.json -> jsconfig.json
  • tsconfig.json -> tsconfig.base.json
    • cannot coexist with jsconfig.json under the old name since it would be picked up by VS Code instead
    • the file is still used in .eslint.rc, but maybe that is not necessary and the new tsconfig.json could be used instead

For better consistency with the TSConfig option name.

The script had been broken for a long time, so it is safe to assume
nobody relies on the old name in custom scripts.
@aweebit
Copy link
Copy Markdown
Contributor Author

aweebit commented Aug 15, 2023

Closing in favor of #1969.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants