Repository navigation
Description
Found while evaluating the 6.0.0 landing (jssm branch release_26-09-14_v6-landing at 10ae1eee). The landing plan (notes/superpowers/plans/2026-09-14-v6-landing.md, "Out of scope") recorded this gap and deferred it, on the grounds that turning lint on for this many files during a release is how a release breaks. Filed with John's approval on 2026-11-12.
This is not a 6.0.0 gate. It is 6.x cleanup.
Why these files are unlinted
Two things have to be true for eslint to check a file. For each file below, at least one is false.
- The file has to be handed to eslint.
npm run eslintiseslint --color src/ts src/buildjs. Nothing at the repo root, insrc/scripts,src/fsl.tools,sketch, orexamplesis ever passed. - A config block's
filesglob has to match it. Flat config has no catch-all.eslint.config.mjshas blocks forsrc/ts/**/*.tsand forsrc/buildjs/**/*.cjsplussrc/buildjs/**/*.js, and nothing else. Sosrc/buildjs/**/*.tsandsrc/buildjs/**/*.mjsare handed to eslint and then matched by no block.
What is in the gap
Counted on 10ae1eee: tracked .ts, .js, .cjs, .mjs and .jsx files (.cts, .mts and .tsx were searched too; there are none) outside dist/, docs/ and packages/*/dist/, leaving out declaration files and everything the two blocks cover.
| Where | Files | What they are |
|---|---|---|
| Repo root | 29 | 18 rollup configs, 6 vitest files, and the playwright, commitlint, custom-elements-manifest, typedoc and eslint configs |
src/fsl.tools/site |
37 | 16 JSX components, 20 recipe .cjs files, the site build script |
src/scripts |
36 | 17 scripts, 7 files under teaching_surface/, 12 specs |
src/buildjs |
27 | 25 tests/*.spec.ts, peg_ts_export_footer.ts, build_shootout.mjs |
sketch/ |
13 | The CodeMirror 6 editor prototype |
src/ts/tests/cli/fixtures/plugins |
3 | .cjs plugin fixtures |
examples/fsl-editor |
1 | _demo_entry.ts |
| Total | 146 |
The landing plan's survey of 2026-09-14 said 117. That figure could not be reconstructed. The list below is reproducible with the command at the end of this issue.
All 146 files
Repo root (29)
commitlint.config.mjscustom-elements-manifest.config.mjseslint.config.mjsplaywright.config.tsrollup.config.cli.jsrollup.config.cm6.es6.jsrollup.config.core.jsrollup.config.fence.es6.jsrollup.config.pkg_cli.jsrollup.config.pkg_commonjs.jsrollup.config.pkg_fence.jsrollup.config.pkg_iife.jsrollup.config.pkg_verify.jsrollup.config.pkg_viz.jsrollup.config.viz.jsrollup.config.wc.docs.es6.jsrollup.config.wc.editor.es6.jsrollup.config.wc.instance.cdn.jsrollup.config.wc.instance.es6.jsrollup.config.wc.viz.cdn.jsrollup.config.wc.viz.es6.jsrollup.config.wc.widgets.es6.jstypedoc-options.cjsvitest.docs.config.tsvitest.dragon.config.tsvitest.setup.tsvitest.spec.config.tsvitest.stoch.config.tsvitest.unicode.config.ts
src/buildjs (27)
src/buildjs/build_shootout.mjssrc/buildjs/peg_ts_export_footer.tssrc/buildjs/tests/benchmark_bundle_size.spec.tssrc/buildjs/tests/benchmark_gc.spec.tssrc/buildjs/tests/benchmark_load.spec.tssrc/buildjs/tests/benchmark_scaling_carrying.spec.tssrc/buildjs/tests/benchmark_scaling_exponents.spec.tssrc/buildjs/tests/benchmark_scaling_latency.spec.tssrc/buildjs/tests/benchmark_scaling_memory.spec.tssrc/buildjs/tests/benchmark_scaling_plan.spec.tssrc/buildjs/tests/benchmark_scaling_shapes.spec.tssrc/buildjs/tests/benchmark_timing.spec.tssrc/buildjs/tests/build_config.spec.tssrc/buildjs/tests/build_config_features.spec.tssrc/buildjs/tests/build_help_content.spec.tssrc/buildjs/tests/build_manifest.spec.tssrc/buildjs/tests/decl_parity.spec.tssrc/buildjs/tests/fixparser_fast_atom.spec.tssrc/buildjs/tests/fsl_tmlanguage.spec.tssrc/buildjs/tests/makever_workspaces.spec.tssrc/buildjs/tests/package_bundle_boundaries.spec.tssrc/buildjs/tests/playwright_install.spec.tssrc/buildjs/tests/run_build.spec.tssrc/buildjs/tests/verify_no_published_bloat.spec.tssrc/buildjs/tests/verify_peer_pins.spec.tssrc/buildjs/tests/verify_side_effects.spec.tssrc/buildjs/tests/verify_version_bump.spec.ts
src/scripts (36)
src/scripts/benchmark_compare.cjssrc/scripts/build_repo_timeline.cjssrc/scripts/collect_package_sizes.cjssrc/scripts/collect_tagged_repo_sizes.cjssrc/scripts/era_book_html.cjssrc/scripts/fill_perf_gaps.cjssrc/scripts/flow_model.cjssrc/scripts/graviton_envelope.cjssrc/scripts/graviton_perf.cjssrc/scripts/graviton_perf_launch.cjssrc/scripts/graviton_trail_audit.cjssrc/scripts/make_method_function_table.cjssrc/scripts/make_perf_chart.cjssrc/scripts/make_size_chart.cjssrc/scripts/perf_regression_alarm.cjssrc/scripts/publish_workspaces.cjssrc/scripts/size_families.cjssrc/scripts/teaching_surface/check_partition.cjssrc/scripts/teaching_surface/check_teaching_surface.cjssrc/scripts/teaching_surface/extract_grammar_surface.cjssrc/scripts/teaching_surface/extract_surfaces.cjssrc/scripts/teaching_surface/scan_pages.cjssrc/scripts/teaching_surface/tests/check_teaching_surface.test.cjssrc/scripts/teaching_surface/tests/scan_pages.test.cjssrc/scripts/tests/benchmark_compare.spec.tssrc/scripts/tests/build_repo_timeline.spec.tssrc/scripts/tests/collect_package_sizes.spec.tssrc/scripts/tests/fill_perf_gaps.spec.tssrc/scripts/tests/flow_model.spec.tssrc/scripts/tests/graviton_envelope.spec.tssrc/scripts/tests/graviton_perf.spec.tssrc/scripts/tests/graviton_trail_audit.spec.tssrc/scripts/tests/make_perf_chart.spec.tssrc/scripts/tests/make_size_chart.spec.tssrc/scripts/tests/perf_regression_alarm.spec.tssrc/scripts/tests/publish_workspaces.spec.ts
src/fsl.tools/site (37)
src/fsl.tools/site/components/Community.jsxsrc/fsl.tools/site/components/CookbookCode.jsxsrc/fsl.tools/site/components/CookbookFooter.jsxsrc/fsl.tools/site/components/CookbookGraph.jsxsrc/fsl.tools/site/components/CookbookRecipeView.jsxsrc/fsl.tools/site/components/CookbookSidebar.jsxsrc/fsl.tools/site/components/DiagnosticPanel.jsxsrc/fsl.tools/site/components/Examples.jsxsrc/fsl.tools/site/components/FeatureGrid.jsxsrc/fsl.tools/site/components/Footer.jsxsrc/fsl.tools/site/components/Hero.jsxsrc/fsl.tools/site/components/Install.jsxsrc/fsl.tools/site/components/Learn.jsxsrc/fsl.tools/site/components/Nav.jsxsrc/fsl.tools/site/components/cookbook-data.jsxsrc/fsl.tools/site/components/cookbook-highlight.jsxsrc/fsl.tools/site/recipes/composition-per-entity.cjssrc/fsl.tools/site/recipes/composition-react.cjssrc/fsl.tools/site/recipes/hooks-entry.cjssrc/fsl.tools/site/recipes/hooks-log.cjssrc/fsl.tools/site/recipes/hooks-payload.cjssrc/fsl.tools/site/recipes/patterns-acyclic.cjssrc/fsl.tools/site/recipes/patterns-auth.cjssrc/fsl.tools/site/recipes/patterns-branch.cjssrc/fsl.tools/site/recipes/patterns-cycle.cjssrc/fsl.tools/site/recipes/patterns-fetch.cjssrc/fsl.tools/site/recipes/patterns-overlapping-groups.cjssrc/fsl.tools/site/recipes/patterns-toggle.cjssrc/fsl.tools/site/recipes/patterns-user-account-groups.cjssrc/fsl.tools/site/recipes/real-world-fetch-retry.cjssrc/fsl.tools/site/recipes/real-world-multi-step-form.cjssrc/fsl.tools/site/recipes/real-world-optimistic.cjssrc/fsl.tools/site/recipes/real-world-testing.cjssrc/fsl.tools/site/recipes/test-jest-webpack-react.cjssrc/fsl.tools/site/recipes/test-vitest-vite-react.cjssrc/fsl.tools/site/recipes/test-vitest-vite-vue.cjssrc/fsl.tools/site/scripts/build.cjs
sketch/ (13)
sketch/cm6-editor/completion.mjssketch/cm6-editor/diagnostics.mjssketch/cm6-editor/docs_index_search.mjssketch/cm6-editor/docs_panel.mjssketch/cm6-editor/editor.jssketch/cm6-editor/editor_theme.mjssketch/cm6-editor/layout.mjssketch/cm6-editor/markdown_mini.mjssketch/cm6-editor/semantic_overlay.mjssketch/cm6-editor/splitter.mjssketch/cm6-editor/tests/docs_panel.e2e.mjssketch/cm6-editor/tests/markdown_mini.test.mjssketch/cm6-lang-fsl/index.js
src/ts/tests/cli/fixtures/plugins (3)
src/ts/tests/cli/fixtures/plugins/fsl-bad-exits.cjssrc/ts/tests/cli/fixtures/plugins/fsl-good.cjssrc/ts/tests/cli/fixtures/plugins/fsl-no-default.cjs
examples/fsl-editor (1)
examples/fsl-editor/_demo_entry.ts
Why it matters
- Some of these files run the release.
src/scripts/publish_workspaces.cjsperforms the npm publish of all seven packages. The 18rollup.config.*.jsfiles decide what goes into every published bundle.src/scripts/graviton_envelope.cjsis the pre-release performance check.src/scripts/make_method_function_table.cjsgenerates the method-to-function table inMIGRATING-5-to-6.md. - 37 of the specs are also never type-checked: the 25 under
src/buildjs/testsand the 12 undersrc/scripts/tests. They do run, becausevitest.spec.config.tsincludes**/*.spec.ts. Buttsconfig.test.json(thetypecheck_testsstep) includes onlysrc/ts/**/*, and vitest strips types without checking them. A spec here can import a type that no longer exists, or pin a signature that has since changed, and still pass. That is the holetsconfig.test.jsonwas created to close forsrc/ts, as its own header explains. sketch/is not dead code.src/ts/tests/diagnostics_helper.spec.tsimportssketch/cm6-editor/diagnostics.mjs, so a spec in the gated suite depends on an unlinted prototype file. The directory was last touched on 2026-06-28.- New files land in the gap by default. jssm#1002 adds
src/buildjs/tests/verify_version_bump.stoch.ts, which becomes the 147th when it merges.
Suggested approach
Several small PRs, not one. Turning rules on across 146 files will produce a large first wave of findings, and the release-critical files are the ones that should not churn near a release.
src/buildjs.tsand.mjs(27 files). These are already handed to eslint. Extend the buildjs block's globs for the two non-test files, and givesrc/buildjs/**/tests/**the same syntax-plus-vitest tier thatsrc/ts/**/tests/**has.src/scripts(36 files). The same node-scoped CommonJS tier assrc/buildjs, and add the directory to theeslintscript.- Root configs (29 files). A small block each for the ESM configs, the one CommonJS config, and the TypeScript configs.
- Type-check the 37 specs. Widen
tsconfig.test.json, or add a sibling project forsrc/buildjs/testsandsrc/scripts/tests, wired into the build the waytypecheck_testsis. src/fsl.tools/site(37 files). This one needs a decision first. The config header records thateslint-plugin-reactwas dropped because jssm has no React runtime and no JSX, and the site is JSX. Either lint it with a JSX-aware block, or list it inignoreswith the reason.sketch/(13 files). Also a decision: movediagnostics.mjsintosrc/ts, since a live spec depends on it, and then delete or explicitly ignore the rest.- A guard, last. A check beside the existing
verify_*gates insrc/buildjsthat fails when a tracked code file is neither matched by a config block nor listed inignores, so the gap cannot reopen quietly.
Anything deliberately left out belongs in ignores with a reason, the way the four generated paths already are.
Not part of this issue
- Turning on
strictin tsconfig, and theno-unsafe-*rules that wait on it: fsl#712. - The rule-level opt-outs already recorded with their reasons in
eslint.config.mjs.
Reproducing the list
git grep -l -I "" <ref> -- "*.ts" "*.cjs" "*.mjs" "*.js" "*.cts" "*.mts" "*.tsx" "*.jsx" ":!dist/*" ":!docs/*" ":!packages/*/dist/*" ":!src/ts/*.ts" ":!src/buildjs/*.cjs" ":!src/buildjs/*.js" ":!*.d.ts" ":!*.d.cts" ":!*.d.mts"
In a git pathspec * crosses directory separators, so :!src/ts/*.ts excludes at every depth.
Activity