Title: Remove the stale rslint.json / rslint.jsonc entries from the lint config watcher · Issue #41 · rstackjs/rstack-editor · GitHub
Open Graph Title: Remove the stale rslint.json / rslint.jsonc entries from the lint config watcher · Issue #41 · rstackjs/rstack-editor
X Title: Remove the stale rslint.json / rslint.jsonc entries from the lint config watcher · Issue #41 · rstackjs/rstack-editor
Description: Problem RSLINT_CONFIG_WATCH_NAMES in packages/vscode/src/stacks/lint/Rslint.ts:64-81 still lists rslint.json and rslint.jsonc, with a comment claiming "the Go server does load rslint.json from its cwd as a no-JS-config fallback in automa...
Open Graph Description: Problem RSLINT_CONFIG_WATCH_NAMES in packages/vscode/src/stacks/lint/Rslint.ts:64-81 still lists rslint.json and rslint.jsonc, with a comment claiming "the Go server does load rslint.json from its ...
X Description: Problem RSLINT_CONFIG_WATCH_NAMES in packages/vscode/src/stacks/lint/Rslint.ts:64-81 still lists rslint.json and rslint.jsonc, with a comment claiming "the Go server does load rslint.json from...
Opengraph URL: https://github.com/rstackjs/rstack-editor/issues/41
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove the stale rslint.json / rslint.jsonc entries from the lint config watcher","articleBody":"## Problem\n\n`RSLINT_CONFIG_WATCH_NAMES` in `packages/vscode/src/stacks/lint/Rslint.ts:64-81` still lists `rslint.json` and `rslint.jsonc`, with a comment claiming \"the Go server does load `rslint.json` from its cwd as a no-JS-config fallback in automatic mode\".\n\nThat claim is stale. Current upstream automatic discovery only knows the four JS/TS module names and explicit loading rejects non-module extensions (`rslint@origin/main:internal/config/discovery/catalog.go:18-37`); the standalone extension has already removed the JSON names from its own watcher (`packages/vscode-extension/src/Rslint.ts:45-56`); and this extension's own detection deliberately ignores JSON (`src/detection.ts:25-29`, proven by `e2e/lint/suite-noconfig/noconfig.test.ts:181-192`).\n\n## Observable effect\n\n- Folder with only `rslint.json`: nothing happens, no runtime exists so no watcher is installed.\n- Folder that already has a lint runtime (native `rslint.config.*` or an Rstack bridge): touching `rslint.json` is classified as `config-change`, debounced 300 ms and sent as a config-refresh (`Rslint.ts:124-130,516-520,582-620`). Go rebuilds the current config transaction with `loadMode: 'fresh'`, invalidates diagnostic and lint-project caches, re-evaluates the real JS/TS config and republishes every diagnostic (`internal/lsp/config_discovery.go:323-437,820-848`). No process restarts and the result is normally identical, so users are unlikely to notice, but it is a pointless full config re-evaluation triggered by a file that is never configuration.\n\n## Proposal\n\nRemove `rslint.json` / `rslint.jsonc` from `RSLINT_CONFIG_WATCH_NAMES` and delete the comment. No behavior change for real configs.\n","author":{"url":"https://github.com/fi3ework","@type":"Person","name":"fi3ework"},"datePublished":"2026-09-03T08:13:30Z","url":"https://github.com/rstackjs/rstack-editor/issues/41"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:50f49e8d-4cb7-845e-6be7-c4aefcbc0525 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EA8:95ECE:11FF0A1:1890C4F:6AEC363E |
| html-safe-nonce | c0e995674f1e0f6c92763e4ad15c6dc449c2b6831c91b1e8920c79c41f882932 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUE4Ojk1RUNFOjExRkYwQTE6MTg5MEM0Rjo2QUVDMzYzRSIsInZpc2l0b3JfaWQiOiIyNDE0NDYzNTg0MzI2OTIzODM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 785979369b367b0081e19061e351ecf09a63b7e64b335b3db91642912d090635 |
| hovercard-subject-tag | issue:5334071206 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/rstackjs/rstack-editor/41/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d23400ed0de5772a6e0a0a2063eea8d5fe0c0eced6aacfb9b47fd78dd362f92b/rstackjs/rstack-editor/issues/41 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d23400ed0de5772a6e0a0a2063eea8d5fe0c0eced6aacfb9b47fd78dd362f92b/rstackjs/rstack-editor/issues/41 |
| og:image:alt | Problem RSLINT_CONFIG_WATCH_NAMES in packages/vscode/src/stacks/lint/Rslint.ts:64-81 still lists rslint.json and rslint.jsonc, with a comment claiming "the Go server does load rslint.json from its ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fi3ework |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1dcf8db8e9101b96aecb2bc4e1fd095c110db63a7a140d8a7a9de997e07663e3 |
| turbo-cache-control | no-preview |
| go-import | github.com/rstackjs/rstack-editor git https://github.com/rstackjs/rstack-editor.git |
| octolytics-dimension-user_id | 129049372 |
| octolytics-dimension-user_login | rstackjs |
| octolytics-dimension-repository_id | 1316963958 |
| octolytics-dimension-repository_nwo | rstackjs/rstack-editor |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1316963958 |
| octolytics-dimension-repository_network_root_nwo | rstackjs/rstack-editor |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c248a9ae2572141cd7b35bf30a770cdc842dbc35 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width