Add ESLint no-restricted-imports rule banning *.test-fixture.svelte from non-test files. Tree-shaking already keeps test fixtures out of the production bundle, but making the boundary lint-enforced catches an accidental autocomplete-driven import in a route or component. Test files and the fixtures themselves are exempt. Nora #2 on PR #629 round 3. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
7.9 KiB
7.9 KiB