no-import-alias-test.yml 453 B

12345678910111213
  1. id: no-import-alias
  2. valid:
  3. - import { foo } from "./foo"
  4. - import type { Foo } from "./foo"
  5. - import foo from "./foo"
  6. - export { foo as bar } from "./foo"
  7. - import type { Plugin as EffectPlugin } from "./foo"
  8. - import type { Foo as Bar, Baz } from "./foo"
  9. invalid:
  10. - import { foo as bar } from "./foo"
  11. - import { baz, foo as bar } from "./foo"
  12. - import { foo as bar, baz } from "./foo"
  13. - import { type Foo as Bar, baz } from "./foo"