mpellegrini / fullstack-typescript-monorepo-starter

1 stars 1 forks source link

ESLint Toolchain: Enforce consistent `type` imports and exports #128

Closed mpellegrini closed 1 month ago

mpellegrini commented 1 month ago
// @typescript-eslint/no-import-type-side-effects
import type { Cookies, Handle } from '@sveltejs/kit'

// no rule, normal import
import { sequence } from '@sveltejs/kit/hooks'

// @typescript-eslint/consistent-type-imports
import { type Session, type User, lucia } from '@packages/auth-lucia'