Skip to content

Commit

Permalink
update prettier ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKarow committed Sep 18, 2023
1 parent 0bd67e2 commit 391d8a9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable import/no-unused-modules */
/**
* @template {import('@types/prettier').RequiredOptions} T
* @param {T} config A generic parameter that flows through to the return type
Expand Down
1 change: 0 additions & 1 deletion apps/app/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
node_modules
.next
public
storybook-static
dist

Expand Down
2 changes: 1 addition & 1 deletion apps/app/lib/generators/translationKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const isObject = (data: unknown): data is Record<string, string> =>
const countKeys = (obj: Output): number => Object.keys(flatten(obj)).length

export const generateTranslationKeys = async (task: ListrTask) => {
const prettierOpts = (await prettier.resolveConfig(__dirname)) ?? undefined
const prettierOpts = (await prettier.resolveConfig(__filename)) ?? undefined

const data = await prisma.translationNamespace.findMany({
where: {
Expand Down

0 comments on commit 391d8a9

Please sign in to comment.