Limit the #testing note to tests that use its helpers
Check / check (pull_request) Successful in 58s

This commit is contained in:
Danny Kim
2026-10-18 03:40:16 +09:00
parent 5b568f9ea6
commit 50df193a8c
+2 -2
View File
@@ -33,8 +33,8 @@ Inside an area, relative imports of siblings and subfolders are free. `../`
is banned in every file, owned or not
(`import/no-relative-parent-imports`). Files no alias owns need no `index.ts`
and no alias, and import `./` siblings and subfolders freely. The one alias
is `#testing` (`./src/testing/index.ts`): every test imports it by alias, and
`tests/` reaches `src/` only through it. Local convention, stricter than the
is `#testing` (`./src/testing/index.ts`): tests that use its helpers import
it by alias, and `tests/` reaches `src/` only through it. Local convention, stricter than the
general rule above: in this repo, aliases point only at a direct subfolder of
`src/` (`"#helpers": "./src/helpers/index.ts"`), and code outside `src/` uses
`./` relative imports. `scripts/` is flat: one file per