Skip to content

chore: add jsconfig.json for IDE module resolution#322

Merged
MCERQUA merged 2 commits into
MCERQUA:devfrom
Alexi5000:pr/add-jsconfig
May 30, 2026
Merged

chore: add jsconfig.json for IDE module resolution#322
MCERQUA merged 2 commits into
MCERQUA:devfrom
Alexi5000:pr/add-jsconfig

Conversation

@Alexi5000
Copy link
Copy Markdown
Contributor

Summary

Adds a jsconfig.json to enable IDE tooling (IntelliSense, go-to-definition, autocomplete) for the ES module frontend code in src/.

What This Does

  • Configures module: "es2022" and moduleResolution: "bundler" matching the browser runtime
  • Defines path aliases (@core/*, @ui/*, @providers/*, etc.) for the project's directory structure
  • Sets checkJs: false — this is editor tooling only, not a type-checking gate
  • Includes src/**/*.js and cli/**/*.js, excludes node_modules, static, website, tests

Why

VS Code and other editors using the TypeScript language server need this file to provide accurate navigation and completions for vanilla JS projects with ES module imports. Without it, editors can't resolve relative paths or provide meaningful autocomplete across the src/ tree.

Test Plan

  • Open project in VS Code — no new errors or warnings
  • Ctrl+click on an import like from '../core/EventBus.js' navigates to the correct file
  • Autocomplete works for exported symbols from src/core/

Enables proper IntelliSense, go-to-definition, and autocomplete for
the ES module frontend code in src/. Configures path aliases matching
the project's directory structure and sets the module/target to ES2022
to match the browser runtime.

checkJs is disabled — this is for editor tooling only, not type checking.
@MCERQUA MCERQUA changed the base branch from main to dev May 30, 2026 04:10
@MCERQUA MCERQUA merged commit 397684a into MCERQUA:dev May 30, 2026
2 checks passed
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