diff --git a/web/package.json b/web/package.json index 4fba3359..bb5e590b 100644 --- a/web/package.json +++ b/web/package.json @@ -68,6 +68,7 @@ "critters": "0.0.16", "cross-env": "^7.0.3", "eslint-config-next": "12.1.6", + "eslint-config-prettier": "8.5.0", "next-sitemap": "^2.5.14", "postcss": "8.3.5", "prettier-plugin-tailwindcss": "^0.1.5", diff --git a/web/pages/api/v0/_types.ts b/web/pages/api/v0/_types.ts index 3248071f..f0d9c443 100644 --- a/web/pages/api/v0/_types.ts +++ b/web/pages/api/v0/_types.ts @@ -7,7 +7,7 @@ import { User } from 'common/user' import { removeUndefinedProps } from 'common/util/object' import { ENV_CONFIG } from 'common/envs/constants' import { JSONContent } from '@tiptap/core' -import { richTextToString } from 'common/lib/util/parse' +import { richTextToString } from 'common/util/parse' export type LiteMarket = { // Unique identifer for this market diff --git a/yarn.lock b/yarn.lock index 9334b737..b15c5cd6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5718,6 +5718,11 @@ eslint-config-next@12.1.6: eslint-plugin-react "^7.29.4" eslint-plugin-react-hooks "^4.5.0" +eslint-config-prettier@8.5.0: + version "8.5.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1" + integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== + eslint-import-resolver-node@^0.3.6: version "0.3.6" resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd"