weareinreach / InReach

Avoid using wildcard imports JS-C1003
Anti-pattern
Minor
a month agoa year old
Explicitly import the specific method needed
 12import { prisma } from '~db/client'
 13import { type JobDef } from '~db/prisma/jobPreRun'
 14
 15import * as jobList from './data-migrations' 16
 17/**
 18 * Job Runner
Explicitly import the specific method needed
 6	publicProcedure,
 7} from '~api/lib/trpc'
 8
 9import * as schema from './schemas'10
11const NAMESPACE = 'user'
12
Explicitly import the specific method needed
  6	publicProcedure,
  7} from '~api/lib/trpc'
  8
  9import * as schema from './schemas' 10
 11const NAMESPACE = 'service'
 12
Explicitly import the specific method needed
 6	publicProcedure,
 7} from '~api/lib/trpc'
 8
 9import * as schema from './schemas'10
11const NAMESPACE = 'review'
12
Explicitly import the specific method needed
 1import { defineRouter, importHandler, permissionedProcedure, publicProcedure } from '~api/lib/trpc'
 2
 3import * as schema from './schemas' 4
 5const NAMESPACE = 'page'
 6