weareinreach / InReach

Avoid using wildcard imports JS-C1003
Anti-pattern
Minor
12 days agoa year old
Explicitly import the specific method needed
 1import { defineRouter, importHandler, permissionedProcedure, publicProcedure } from '~api/lib/trpc'
 2
 3import * as schema from './schemas' 4
 5const NAMESPACE = 'orgSocialMedia'
 6
Explicitly import the specific method needed
 1import { defineRouter, importHandler, permissionedProcedure, publicProcedure } from '~api/lib/trpc'
 2
 3import * as schema from './schemas' 4
 5const NAMESPACE = 'orgWebsite'
 6
Explicitly import the specific method needed
 1import { defineRouter, importHandler, permissionedProcedure, publicProcedure } from '~api/lib/trpc'
 2
 3import * as schema from './schemas' 4
 5const NAMESPACE = 'component'
 6
Explicitly import the specific method needed
 15import { downloadFromDatastore, formatMessage } from '~db/prisma/common'
 16import { createLogger, type JobDef, jobPostRunner } from '~db/prisma/jobPreRun'
 17
 18import * as jobList from './data-migrations' 19
 20/**
 21 * Job Runner
Explicitly import the specific method needed
13import { writeFileSync } from 'fs'
14import path from 'path'
15
16import * as job from './generators'17
18/**
19 * It takes a filename and some data, and writes it to a file in the `generated` directory