| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Cascaded from socket-wheelhouse. The type-aware pass builds scripts/**/*.mts a DEFAULT program (no strict tsconfig discoverable above scripts/), dropping noUncheckedIndexedAccess and false-flagging the fleet-mandated cached-for-loop `arr[i]!` assertions as unnecessary — reddening 🔎 Check.
| Back | FazBrowse Home | New Git URL |
Disables typescript/no-unnecessary-type-assertion fleet-wide (cascaded from our shared template). One line in .config/fleet/oxlintrc.json.
Why
The type-aware pass (--type-aware / tsgolint) builds scripts/**/*.mts a DEFAULT program because it can't discover a strict tsconfig above scripts/. That drops noUncheckedIndexedAccess, so the fleet-mandated cached-for-loop arr[i]! assertions (required by socket/prefer-cached-for-loop + noUncheckedIndexedAccess) read as unnecessary and red 🔎 Check. Adding tsconfig files was ruled out, so the rule is turned off.
Source
The canonical entry landed in our shared fleet template config; this mirrors it. checkOxlintRuleActivations would otherwise cascade the same "off" entry on the next sync.