lightsoutAlpha

test-support-in-src

shared test fixtures or mocks living under `src/`

Deterministic checkadvisory by defaultbasetests

The argument

This rule states its summary and proves it with an example.

The proof

fail
export const sampleLabel = 'Ada';
pass
export const getLabel = ({ name }: { name: string }): string => name.trim();

Turn it down

Both lines go in your lightsout.config.json.

"standards-checks": { "test-support-in-src": "advisory" }
"standards-checks": { "test-support-in-src": "off" }