Scheduling infrastructure for absolutely everyone.
Eslint fixes (#1898)
Omar López944a3c02ce50
diff --git a/.eslintrc.js b/.eslintrc.jsnew file mode 100644index 00000000000..e9484d0397d--- /dev/null+++ b/.eslintrc.js@@ -0,0 +1 @@+module.exports = require("./packages/config/eslint-preset");diff --git a/apps/docs/.eslintrc.js b/apps/docs/.eslintrc.jsdeleted file mode 100644index 0e71ec1eae5..00000000000--- a/apps/docs/.eslintrc.js+++ /dev/null@@ -1 +0,0 @@-module.exports = require("@calcom/config/eslint-preset");diff --git a/apps/docs/next-env.d.ts b/apps/docs/next-env.d.tsnew file mode 100644index 00000000000..4f11a03dc6c--- /dev/null+++ b/apps/docs/next-env.d.ts@@ -0,0 +1,5 @@+/// <reference types="next" />+/// <reference types="next/image-types/global" />++// NOTE: This file should not be edited+// see https://nextjs.org/docs/basic-features/typescript for more information.diff --git a/apps/docs/next.config.js b/apps/docs/next.config.jsindex 2d62e7d6040..19c88a129a8 100644--- a/apps/docs/next.config.js+++ b/apps/docs/next.config.js@@ -1,4 +1,3 @@-/* eslint-disable @typescript-eslint/no-var-requires */const withNextra = require("nextra")({theme: "nextra-theme-docs",themeConfig: "./theme.config.js",diff --git a/apps/docs/package.json b/apps/docs/package.jsonindex 9fafab12c93..7f6e3b0e6a6 100644--- a/apps/docs/package.json+++ b/apps/docs/package.json@@ -4,7 +4,9 @@"description": "","main": "index.js","scripts": {+ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next","dev": "PORT=4000 next",+ "lint": "next lint","start": "PORT=4000 next start","build": "next build"},@@ -16,5 +18,9 @@"nextra-theme-docs": "^1.2.2","react": "^17.0.2","react-dom": "^17.0.2"+ },+ "devDependencies": {+ "@calcom/config": "*",+ "eslint": "^8.9.0"}}diff --git a/apps/docs/pages/_app.js b/apps/docs/pages/_app.tsxsimilarity index 99%rename from apps/docs/pages/_app.jsrename to apps/docs/pages/_app.tsxindex 9c9ee511c83..590e3dfc64b 100644--- a/apps/docs/pages/_app.js+++ b/apps/docs/pages/_app.tsx@@ -1,4 +1,5 @@import "nextra-theme-docs/style.css";+import "./style.css";export default function Nextra({ Component, pageProps }) {diff --git a/apps/docs/pages/self-hosting/install.mdx b/apps/docs/pages/self-hosting/install.mdxindex a692f73d706..e627c195e01 100644--- a/apps/docs/pages/self-hosting/install.mdx+++ b/apps/docs/pages/self-hosting/install.mdx@@ -52,50 +52,51 @@ yarn dx1. Configure database in the `packages/prisma/.env` file. Replace `<user>`, `<pass>`, `<db-host>`, `<db-port>` with their applicable values- ```text- DATABASE_URL='postgresql://<user>:<pass>@<db-host>:<db-port>'- ```+ ```text+ DATABASE_URL='postgresql://<user>:<pass>@<db-host>:<db-port>'+ ```++ <details>- <details>+ <summary>+ If you don't know how to configure the DATABASE_URL, then follow the steps here to create a quick DB+ using Heroku+ </summary>- <summary>- If you don't know how to configure the DATABASE_URL, then follow the steps here to create a quick DB- using Heroku- </summary>+ 1. Create a free account with [Heroku](https://www.heroku.com/).- 1. Create a free account with [Heroku](https://www.heroku.com/).+ 2. Create a new app.- 2. Create a new app.+ <img+ width="306"+ alt="Create an App"+ src="https://user-images.githubusercontent.com/16905768/115322780-b3d58c00-a17e-11eb-8a52-b758fb0ea942.png"+ />- <img- width="306"- alt="Create an App"- src="https://user-images.githubusercontent.com/16905768/115322780-b3d58c00-a17e-11eb-8a52-b758fb0ea942.png"- />+ 3. In your new app, go to `Overview` and next to `Installed add-ons`, click `Configure Add-ons`. We need this to set up our database.+ - 3. In your new app, go to `Overview` and next to `Installed add-ons`, click `Configure Add-ons`. We need this to set up our database.- + 4. Once you clicked on `Configure Add-ons`, click on `Find more add-ons` and search for `postgres`. One of the options will be `Heroku Postgres` - click on that option.+ - 4. Once you clicked on `Configure Add-ons`, click on `Find more add-ons` and search for `postgres`. One of the options will be `Heroku Postgres` - click on that option.- + 5. Once the pop-up appears, click `Submit Order Form` - plan name should be `Hobby Dev - Free`.- 5. Once the pop-up appears, click `Submit Order Form` - plan name should be `Hobby Dev - Free`.+ <img+ width="512"+ alt="Submit Order Form"+ src="https://user-images.githubusercontent.com/16905768/115323265-b4baed80-a17f-11eb-99f0-d67f019aa6df.png"+ />- <img- width="512"- alt="Submit Order Form"- src="https://user-images.githubusercontent.com/16905768/115323265-b4baed80-a17f-11eb-99f0-d67f019aa6df.png"- />+ 6. Once you completed the above steps, click on your newly created `Heroku Postgres` and go to its `Settings`.+ - 6. Once you completed the above steps, click on your newly created `Heroku Postgres` and go to its `Settings`.- + 7. In `Settings`, copy your URI to your Cal.com .env file and replace the `postgresql://<user>:<pass>@<db-host>:<db-port>` with it.+ + - 7. In `Settings`, copy your URI to your Cal.com .env file and replace the `postgresql://<user>:<pass>@<db-host>:<db-port>` with it.- - + 8. To view your DB, once you add new data in Prisma, you can use [Heroku Data Explorer](https://heroku-data-explorer.herokuapp.com/).- 8. To view your DB, once you add new data in Prisma, you can use [Heroku Data Explorer](https://heroku-data-explorer.herokuapp.com/).- </details>+ </details>1. Set a 32 character random string in your `apps/web/.env` file for the `CALENDSO_ENCRYPTION_KEY` (You can use a command like `openssl rand -base64 24` to generate one).1. Set up the database using the Prisma schema (found in `packages/prisma/schema.prisma`)diff --git a/apps/docs/tsconfig.json b/apps/docs/tsconfig.jsonnew file mode 100644index 00000000000..b98f0952c6e--- /dev/null+++ b/apps/docs/tsconfig.json@@ -0,0 +1,5 @@+{+ "extends": "@calcom/tsconfig/nextjs.json",+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],+ "exclude": ["node_modules"]+}diff --git a/apps/web/.eslintrc.js b/apps/web/.eslintrc.jsdeleted file mode 100644index 0e71ec1eae5..00000000000--- a/apps/web/.eslintrc.js+++ /dev/null@@ -1 +0,0 @@-module.exports = require("@calcom/config/eslint-preset");diff --git a/apps/web/components/booking/DatePicker.tsx b/apps/web/components/booking/DatePicker.tsxindex 734afa26689..24700537084 100644--- a/apps/web/components/booking/DatePicker.tsx+++ b/apps/web/components/booking/DatePicker.tsx@@ -51,10 +51,8 @@ function isOutOfBounds(switch (periodType) {case PeriodType.ROLLING: {const periodRollingEndDay = periodCountCalendarDays- ? // eslint-disable-next-line @typescript-eslint/no-non-null-assertion- dayjs().utcOffset(date.utcOffset()).add(periodDays!, "days").endOf("day")- : // eslint-disable-next-line @typescript-eslint/no-non-null-assertion- dayjs().utcOffset(date.utcOffset()).addBusinessTime(periodDays!, "days").endOf("day");+ ? dayjs().utcOffset(date.utcOffset()).add(periodDays!, "days").endOf("day")+ : dayjs().utcOffset(date.utcOffset()).addBusinessTime(periodDays!, "days").endOf("day");return date.endOf("day").isAfter(periodRollingEndDay);}diff --git a/apps/web/components/booking/pages/BookingPage.tsx b/apps/web/components/booking/pages/BookingPage.tsxindex f55013ba180..68e9c309f2a 100644--- a/apps/web/components/booking/pages/BookingPage.tsx+++ b/apps/web/components/booking/pages/BookingPage.tsx@@ -61,14 +61,14 @@ const BookingPage = (props: BookingPageProps) => {const eventOwner = eventType.users[0];if (!contracts[(eventType.metadata.smartContractAddress || null) as number])- // eslint-disable-next-line @typescript-eslint/ban-ts-comment/* @ts-ignore */router.replace(`/${eventOwner.username}`);}}, [contracts, eventType.metadata.smartContractAddress, router]);const mutation = useMutation(createBooking, {- onSuccess: async ({ attendees, paymentUid, ...responseData }) => {+ onSuccess: async (responseData) => {+ const { attendees, paymentUid } = responseData;if (paymentUid) {return await router.push(createPaymentLink({@@ -239,7 +239,6 @@ const BookingPage = (props: BookingPageProps) => {let web3Details;if (eventTypeDetail.metadata.smartContractAddress) {web3Details = {- // eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignoreuserWallet: window.web3.currentProvider.selectedAddress,userSignature: contracts[(eventTypeDetail.metadata.smartContractAddress || null) as number],@@ -259,9 +258,7 @@ const BookingPage = (props: BookingPageProps) => {location: getLocationValue(booking.locationType ? booking : { locationType: selectedLocation }),metadata,customInputs: Object.keys(booking.customInputs || {}).map((inputId) => ({- // eslint-disable-next-line @typescript-eslint/no-non-null-assertionlabel: props.eventType.customInputs.find((input) => input.id === parseInt(inputId))!.label,- // eslint-disable-next-line @typescript-eslint/no-non-null-assertionvalue: booking.customInputs![inputId],})),});@@ -397,7 +394,6 @@ const BookingPage = (props: BookingPageProps) => {{t("phone_number")}</label><div className="mt-1">- {/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */}{/* @ts-ignore */}<PhoneInput name="phone" placeholder={t("enter_phone_number")} id="phone" required /></div>diff --git a/apps/web/contexts/contractsContext.tsx b/apps/web/contexts/contractsContext.tsxindex 1b36abf958a..29e1cca5184 100644--- a/apps/web/contexts/contractsContext.tsx+++ b/apps/web/contexts/contractsContext.tsx@@ -38,7 +38,6 @@ export function ContractsProvider({ children }: Props) {return (<>- {/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */}{/* @ts-ignore */}<ContractsContext.Provider value={value}>{children}</ContractsContext.Provider></>diff --git a/apps/web/ee/components/web3/CryptoSection.tsx b/apps/web/ee/components/web3/CryptoSection.tsxindex 76632c2195b..957cabecb17 100644--- a/apps/web/ee/components/web3/CryptoSection.tsx+++ b/apps/web/ee/components/web3/CryptoSection.tsx@@ -65,10 +65,8 @@ const CryptoSection = (props: CryptoSectionProps) => {} else {const account = (await window.web3.eth.getAccounts())[0];- // eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignoreconst signature = await window.web3.eth.personal.sign(AUTH_MESSAGE, account);- // eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignoreaddContract({ address: props.smartContractAddress, signature });diff --git a/apps/web/lib/QueryCell.tsx b/apps/web/lib/QueryCell.tsxindex 733c64dfc4a..af805a05d79 100644--- a/apps/web/lib/QueryCell.tsx+++ b/apps/web/lib/QueryCell.tsx@@ -53,7 +53,6 @@ export function QueryCell<TData, TError extends ErrorLike>(if ("empty" in opts && (query.data == null || (Array.isArray(query.data) && query.data.length === 0))) {return opts.empty(query);}- // eslint-disable-next-line @typescript-eslint/no-explicit-anyreturn opts.success(query as any);}if (query.status === "error") {diff --git a/apps/web/lib/jackson.ts b/apps/web/lib/jackson.tsindex 0a85d4ef5b7..076ed57c06f 100644--- a/apps/web/lib/jackson.ts+++ b/apps/web/lib/jackson.ts@@ -19,7 +19,6 @@ const opts: JacksonOption = {let apiController: IAPIController;let oauthController: IOAuthController;-// eslint-disable-next-line @typescript-eslint/no-explicit-anyconst g = global as any;export default async function init() {diff --git a/apps/web/lib/slots.ts b/apps/web/lib/slots.tsindex 98bc7551b0d..2ec824bcbff 100644--- a/apps/web/lib/slots.ts+++ b/apps/web/lib/slots.ts@@ -24,7 +24,6 @@ const getMinuteOffset = (date: Dayjs, frequency: number) => {return Math.ceil(minuteOffset / frequency) * frequency;};-// eslint-disable-next-line @typescript-eslint/no-unused-varsconst getSlots = ({ inviteeDate, frequency, minimumBookingNotice, workingHours }: GetSlots) => {// current date in invitee tzconst startDate = dayjs().add(minimumBookingNotice, "minute");diff --git a/apps/web/lib/telemetry.ts b/apps/web/lib/telemetry.tsindex e659064ac90..5fa5ff015b1 100644--- a/apps/web/lib/telemetry.ts+++ b/apps/web/lib/telemetry.ts@@ -76,12 +76,10 @@ function createTelemetryClient(): TelemetryClient {return;} else if (// FIXME- // eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignore!window["jitsu"]) {// FIXME- // eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignorewindow["jitsu"] = jitsuClient({log_level: "ERROR",@@ -92,7 +90,6 @@ function createTelemetryClient(): TelemetryClient {});}// FIXME- // eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignoreconst res = callback(window["jitsu"]);if (res && typeof res["catch"] === "function") {diff --git a/apps/web/lib/types/inferSSRProps.ts b/apps/web/lib/types/inferSSRProps.tsindex ad198523c96..3564b6c9051 100644--- a/apps/web/lib/types/inferSSRProps.ts+++ b/apps/web/lib/types/inferSSRProps.ts@@ -1,5 +1,3 @@-/* eslint-disable @typescript-eslint/no-explicit-any */-type GetSSRResult<TProps> =//{ props: TProps } | { redirect: any } | { notFound: boolean };diff --git a/apps/web/next-i18next.config.js b/apps/web/next-i18next.config.jsindex a824f1419a2..70f26382636 100644--- a/apps/web/next-i18next.config.js+++ b/apps/web/next-i18next.config.js@@ -1,4 +1,3 @@-/* eslint-disable @typescript-eslint/no-var-requires */const path = require("path");module.exports = {diff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex 2b4ac2c90cc..f7ad9e4651d 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -1,4 +1,3 @@-/* eslint-disable @typescript-eslint/no-var-requires */const withTM = require("@vercel/edge-functions-ui/transpile")(["@calcom/lib", "@calcom/prisma"]);const { i18n } = require("./next-i18next.config");diff --git a/apps/web/package.json b/apps/web/package.jsonindex 33b5ff68b52..cd39377d35b 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -16,8 +16,8 @@"type-check": "tsc --pretty --noEmit","build": "next build","start": "next start",- "lint": "eslint . --ext .ts,.js,.tsx,.jsx",- "lint:fix": "eslint . --ext .ts,.js,.tsx,.jsx --fix",+ "lint": "next lint",+ "lint:fix": "next lint . --ext .ts,.js,.tsx,.jsx --fix","check-changed-files": "ts-node scripts/ts-check-changed-files.ts"},"engines": {@@ -103,10 +103,10 @@"zod": "^3.8.2"},"devDependencies": {+ "@calcom/config": "*","@microsoft/microsoft-graph-types-beta": "0.15.0-preview","@playwright/test": "^1.18.1","@tailwindcss/forms": "^0.4.0",- "@trivago/prettier-plugin-sort-imports": "2.0.4","@types/accept-language-parser": "1.5.2","@types/async": "^3.2.10","@types/bcryptjs": "^2.4.2",@@ -123,24 +123,15 @@"@types/react-window": "^1.8.5","@types/stripe": "^8.0.417","@types/uuid": "8.3.1",- "@typescript-eslint/eslint-plugin": "^4.33.0",- "@typescript-eslint/parser": "^4.33.0","autoprefixer": "^10.4.0","babel-jest": "^27.3.1","env-cmd": "10.1.0",- "eslint": "^7.32.0",- "eslint-config-prettier": "^8.3.0",- "eslint-plugin-playwright": "^0.7.1",- "eslint-plugin-prettier": "^3.4.0",- "eslint-plugin-react": "^7.27.1",- "eslint-plugin-react-hooks": "^4.3.0","jest": "^26.0.0","mockdate": "^3.0.5","module-alias": "^2.2.2","npm-run-all": "^4.1.5","postcss": "^8.4.4",- "prettier": "^2.5.1",- "prettier-plugin-tailwindcss": "^0.1.6",+ "eslint": "^8.9.0","tailwindcss": "^3.0.0","ts-jest": "^26.0.0","ts-node": "^10.2.1",diff --git a/apps/web/pages/_error.tsx b/apps/web/pages/_error.tsxindex 49bba4c2aa3..3016275dcf6 100644--- a/apps/web/pages/_error.tsx+++ b/apps/web/pages/_error.tsx@@ -33,7 +33,7 @@ const CustomError: NextPage<CustomErrorProps> = (props) => {// getInitialProps is not called in case of// https://github.com/vercel/next.js/issues/8592. As a workaround, we pass// err via _app.tsx so it can be captured- // eslint-disable-next-line @typescript-eslint/no-unused-vars+ // eslint-disable-next-line no-unused-varsconst e = getErrorFromUnknown(err);// can be captured here// e.g. Sentry.captureException(e);diff --git a/apps/web/pages/api/book/event.ts b/apps/web/pages/api/book/event.tsindex 85c30b9056a..016a2b923e7 100644--- a/apps/web/pages/api/book/event.ts+++ b/apps/web/pages/api/book/event.ts@@ -104,7 +104,6 @@ function isAvailable(busyTimes: BufferedBusyTimes, time: string, length: number)function isOutOfBounds(time: dayjs.ConfigType,- // eslint-disable-next-line @typescript-eslint/no-explicit-any{ periodType, periodDays, periodCountCalendarDays, periodStartDate, periodEndDate, timeZone }: any // FIXME types): boolean {const date = dayjs(time);diff --git a/apps/web/pages/getting-started.tsx b/apps/web/pages/getting-started.tsxindex c0b04b4e9f4..f489460d251 100644--- a/apps/web/pages/getting-started.tsx+++ b/apps/web/pages/getting-started.tsx@@ -188,7 +188,6 @@ export default function Onboarding(props: inferSSRProps<typeof getServerSidePropsteps[currentStep].onComplete &&typeof steps[currentStep].onComplete === "function") {- // eslint-disable-next-line @typescript-eslint/no-non-null-assertionawait steps[currentStep].onComplete!();}incrementStep();diff --git a/apps/web/pages/settings/profile.tsx b/apps/web/pages/settings/profile.tsxindex 2fbf6a1c194..daebfb1caab 100644--- a/apps/web/pages/settings/profile.tsx+++ b/apps/web/pages/settings/profile.tsx@@ -137,7 +137,6 @@ function SettingsView(props: ComponentProps<typeof Settings> & { localeProp: strreturn (router.locales || []).map((locale) => ({value: locale,// FIXME- // eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignorelabel: new Intl.DisplayNames(props.localeProp, { type: "language" }).of(locale),}));diff --git a/apps/web/pages/video/meeting-ended/[uid].tsx b/apps/web/pages/video/meeting-ended/[uid].tsxindex 410d566dee2..30a639055bb 100644--- a/apps/web/pages/video/meeting-ended/[uid].tsx+++ b/apps/web/pages/video/meeting-ended/[uid].tsx@@ -16,7 +16,6 @@ import Button from "@components/ui/Button";export default function MeetingUnavailable(props: inferSSRProps<typeof getServerSideProps>) {const router = useRouter();- // eslint-disable-next-line @typescript-eslint/no-unused-varsconst [is24h, setIs24h] = useState(false);//if no booking redirectis to the 404 pagediff --git a/apps/web/pages/video/meeting-not-started/[uid].tsx b/apps/web/pages/video/meeting-not-started/[uid].tsxindex 36fae4ff508..65dc0569169 100644--- a/apps/web/pages/video/meeting-not-started/[uid].tsx+++ b/apps/web/pages/video/meeting-not-started/[uid].tsx@@ -23,7 +23,6 @@ export default function MeetingNotStarted(props: inferSSRProps<typeof getServerSrouter.push("/video/no-meeting-found");}});- // eslint-disable-next-line @typescript-eslint/no-unused-varsconst [is24h, setIs24h] = useState(false);if (!emptyBooking) {return (diff --git a/apps/web/playwright/lib/testUtils.ts b/apps/web/playwright/lib/testUtils.tsindex 67a2e63ae1b..a370b5b9668 100644--- a/apps/web/playwright/lib/testUtils.ts+++ b/apps/web/playwright/lib/testUtils.ts@@ -2,7 +2,6 @@ import { test } from "@playwright/test";import { createServer, IncomingMessage, ServerResponse } from "http";export function todo(title: string) {- // eslint-disable-next-line @typescript-eslint/no-empty-functiontest.skip(title, () => {});}diff --git a/apps/web/scripts/ts-check-changed-files.ts b/apps/web/scripts/ts-check-changed-files.tsindex 9d647a3f128..ec924d4c9ed 100644--- a/apps/web/scripts/ts-check-changed-files.ts+++ b/apps/web/scripts/ts-check-changed-files.ts@@ -1,4 +1,3 @@-/* eslint-disable @typescript-eslint/no-explicit-any */import { execSync } from "child_process";const diff = execSync(`git diff --name-only origin/main HEAD`).toString();diff --git a/apps/web/types/next-auth.d.ts b/apps/web/types/next-auth.d.tsindex 104fb9c4b7c..066f3129229 100644--- a/apps/web/types/next-auth.d.ts+++ b/apps/web/types/next-auth.d.ts@@ -1,4 +1,3 @@-/* eslint-disable @typescript-eslint/no-unused-vars */import NextAuth, { DefaultSession } from "next-auth";declare module "next-auth" {diff --git a/packages/config/eslint-preset.js b/packages/config/eslint-preset.jsindex f87e0f3d8bf..9aff745514a 100644--- a/packages/config/eslint-preset.js+++ b/packages/config/eslint-preset.js@@ -1,52 +1,20 @@module.exports = {- root: true,- parser: "@typescript-eslint/parser",- parserOptions: {- ecmaVersion: 2018,- sourceType: "module",- modules: true,- },- extends: [- "eslint:recommended",- "plugin:@typescript-eslint/eslint-recommended",- "plugin:@typescript-eslint/recommended",- "prettier",- "plugin:react/recommended",- "plugin:react-hooks/recommended",- "plugin:playwright/playwright-test",- ],- plugins: ["@typescript-eslint", "prettier", "react", "react-hooks"],+ extends: ["plugin:playwright/playwright-test", "next", "plugin:prettier/recommended"],settings: {- react: {- version: "detect",- },next: {rootDir: ["apps/*/", "packages/*/"],},},rules: {- "prettier/prettier": ["error"],- "@typescript-eslint/no-unused-vars": "error",- "react/react-in-jsx-scope": "off",- "react/prop-types": "off",- "@typescript-eslint/explicit-function-return-type": "off",- "@typescript-eslint/explicit-module-boundary-types": "off",+ "@next/next/no-html-link-for-pages": "off",+ "jsx-a11y/role-supports-aria-props": "off", // @see https://github.com/vercel/next.js/issues/27989#issuecomment-897638654},overrides: [{files: ["playwright/**/*.{js,jsx,tsx,ts}"],rules: {"no-undef": "off",- "@typescript-eslint/no-non-null-assertion": "off",- "@typescript-eslint/no-explicit-any": "off",- "@typescript-eslint/no-implicit-any": "off",},},],- env: {- browser: true,- node: true,- es6: true,- jest: true,- },};diff --git a/packages/config/package.json b/packages/config/package.jsonindex a3904e41d22..7eb5d496c55 100644--- a/packages/config/package.json+++ b/packages/config/package.json@@ -7,13 +7,12 @@"eslint-preset.js"],"dependencies": {- "@typescript-eslint/eslint-plugin": "^4.33.0",- "@typescript-eslint/parser": "^4.33.0",- "eslint-config-next": "^12.0.3",+ "eslint-config-next": "^12.0.8","eslint-config-prettier": "^8.3.0","eslint-plugin-playwright": "^0.7.1",- "eslint-plugin-prettier": "^3.4.0",- "eslint-plugin-react": "^7.27.1",- "eslint-plugin-react-hooks": "^4.3.0"+ "eslint-plugin-prettier": "^3.4.0"+ },+ "devDependencies": {+ "typescript": "^4.5.3"}}diff --git a/yarn.lock b/yarn.lockindex 41667bfa876..6adf45b25ce 100644--- a/yarn.lock+++ b/yarn.lock@@ -9,13 +9,6 @@dependencies:"@jridgewell/trace-mapping" "^0.3.0"-"@babel/[email protected]":- version "7.12.11"- resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f"- integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==- dependencies:- "@babel/highlight" "^7.10.4"-"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.14.5", "@babel/code-frame@^7.16.7":version "7.16.7"resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789"@@ -240,7 +233,7 @@"@babel/traverse" "^7.17.0""@babel/types" "^7.17.0"-"@babel/highlight@^7.10.4", "@babel/highlight@^7.16.7":+"@babel/highlight@^7.16.7":version "7.16.10"resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea753c227b0f570ad785aba88"integrity sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==@@ -699,18 +692,18 @@resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz#8eed982e2ee6f7f4e44c253e12962980791efd46"integrity sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==-"@eslint/eslintrc@^0.4.3":- version "0.4.3"- resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c"- integrity sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==+"@eslint/eslintrc@^1.1.0":+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.1.0.tgz#583d12dbec5d4f22f333f9669f7d0b7c7815b4d3"+ integrity sha512-C1DfL7XX4nPqGd6jcP01W9pVM1HYCuUkFk1432D7F0v3JSlUIeOYn9oCoi3eoLZ+iwBSb29BMFxxny0YrrEZqg==dependencies:ajv "^6.12.4"- debug "^4.1.1"- espree "^7.3.0"+ debug "^4.3.2"+ espree "^9.3.1"globals "^13.9.0"ignore "^4.0.6"import-fresh "^3.2.1"- js-yaml "^3.13.1"+ js-yaml "^4.1.0"minimatch "^3.0.4"strip-json-comments "^3.1.1"@@ -996,16 +989,16 @@resolved "https://registry.yarnpkg.com/@hookform/resolvers/-/resolvers-2.8.8.tgz#17cf806485435877fdafce9f3bee6ff68f7f87b6"integrity sha512-meAEDur1IJBfKyTo9yPYAuzjIfrxA7m9Ov+1nxaW/YupsqMeseWifoUjWK03+hz/RJizsVQAaUjVxFEkyu0GWg==-"@humanwhocodes/config-array@^0.5.0":- version "0.5.0"- resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9"- integrity sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==+"@humanwhocodes/config-array@^0.9.2":+ version "0.9.3"+ resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.9.3.tgz#f2564c744b387775b436418491f15fce6601f63e"+ integrity sha512-3xSMlXHh03hCcCmFc0rbKp3Ivt2PFEJnQUJDDMTJQ2wkECZWdq4GePs2ctc5H8zV+cHPaq8k2vU8mrQjA6iHdQ==dependencies:- "@humanwhocodes/object-schema" "^1.2.0"+ "@humanwhocodes/object-schema" "^1.2.1"debug "^4.1.1"minimatch "^3.0.4"-"@humanwhocodes/object-schema@^1.2.0":+"@humanwhocodes/object-schema@^1.2.1":version "1.2.1"resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==@@ -1627,10 +1620,10 @@resolved "https://registry.yarnpkg.com/@next/env/-/env-12.0.10.tgz#561640fd62279218ccd2798ae907bae8d94a7730"integrity sha512-mQVj0K6wQ5WEk/sL9SZ+mJXJUaG7el8CpZ6io1uFe9GgNTSC7EgUyNGqM6IQovIFc5ukF4O/hqsdh3S/DCgT2g==-"@next/[email protected]":- version "12.0.10"- resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.0.10.tgz#521ab5d05a89e818528668df8a3edb8f9df2c547"- integrity sha512-PbGRnV5HGSfRGLjf8uTh1MaWgLwnjKjWiGVjK752ifITJbZ28/5AmLAFT2shDYeux8BHgpgVll5QXu7GN3YLFw==+"@next/[email protected]":+ version "12.1.0"+ resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.1.0.tgz#32586a11378b3ffa5a93ac40a3c44ad99d70e95a"+ integrity sha512-WFiyvSM2G5cQmh32t/SiQuJ+I2O+FHVlK/RFw5b1565O2kEM/36EXncjt88Pa+X5oSc+1SS+tWxowWJd1lqI+g==dependencies:glob "7.1.7"@@ -2786,11 +2779,6 @@jest-diff "^27.0.0"pretty-format "^27.0.0"-"@types/json-schema@^7.0.7":- version "7.0.9"- resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d"- integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==-"@types/json5@^0.0.29":version "0.0.29"resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"@@ -3040,42 +3028,6 @@resolved "https://registry.yarnpkg.com/@types/zen-observable/-/zen-observable-0.8.3.tgz#781d360c282436494b32fe7d9f7f8e64b3118aa3"integrity sha512-fbF6oTd4sGGy0xjHPKAt+eS2CrxJ3+6gQ3FGcBoIJR2TLAyCkCyI8JqZNy+FeON0AhVgNJoUumVoZQjBFUqHkw==-"@typescript-eslint/eslint-plugin@^4.33.0":- version "4.33.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz#c24dc7c8069c7706bc40d99f6fa87edcb2005276"- integrity sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg==- dependencies:- "@typescript-eslint/experimental-utils" "4.33.0"- "@typescript-eslint/scope-manager" "4.33.0"- debug "^4.3.1"- functional-red-black-tree "^1.0.1"- ignore "^5.1.8"- regexpp "^3.1.0"- semver "^7.3.5"- tsutils "^3.21.0"--"@typescript-eslint/[email protected]":- version "4.33.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.33.0.tgz#6f2a786a4209fa2222989e9380b5331b2810f7fd"- integrity sha512-zeQjOoES5JFjTnAhI5QY7ZviczMzDptls15GFsI6jyUOq0kOf9+WonkhtlIhh0RgHRnqj5gdNxW5j1EvAyYg6Q==- dependencies:- "@types/json-schema" "^7.0.7"- "@typescript-eslint/scope-manager" "4.33.0"- "@typescript-eslint/types" "4.33.0"- "@typescript-eslint/typescript-estree" "4.33.0"- eslint-scope "^5.1.1"- eslint-utils "^3.0.0"--"@typescript-eslint/parser@^4.33.0":- version "4.33.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.33.0.tgz#dfe797570d9694e560528d18eecad86c8c744899"- integrity sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA==- dependencies:- "@typescript-eslint/scope-manager" "4.33.0"- "@typescript-eslint/types" "4.33.0"- "@typescript-eslint/typescript-estree" "4.33.0"- debug "^4.3.1"-"@typescript-eslint/parser@^5.0.0":version "5.11.0"resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.11.0.tgz#b4fcaf65513f9b34bdcbffdda055724a5efb7e04"@@ -3086,14 +3038,6 @@"@typescript-eslint/typescript-estree" "5.11.0"debug "^4.3.2"-"@typescript-eslint/[email protected]":- version "4.33.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.33.0.tgz#d38e49280d983e8772e29121cf8c6e9221f280a3"- integrity sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ==- dependencies:- "@typescript-eslint/types" "4.33.0"- "@typescript-eslint/visitor-keys" "4.33.0"-"@typescript-eslint/[email protected]":version "5.11.0"resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.11.0.tgz#f5aef83ff253f457ecbee5f46f762298f0101e4b"@@ -3102,29 +3046,11 @@"@typescript-eslint/types" "5.11.0""@typescript-eslint/visitor-keys" "5.11.0"-"@typescript-eslint/[email protected]":- version "4.33.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.33.0.tgz#a1e59036a3b53ae8430ceebf2a919dc7f9af6d72"- integrity sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ==-"@typescript-eslint/[email protected]":version "5.11.0"resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.11.0.tgz#ba345818a2540fdf2755c804dc2158517ab61188"integrity sha512-cxgBFGSRCoBEhvSVLkKw39+kMzUKHlJGVwwMbPcTZX3qEhuXhrjwaZXWMxVfxDgyMm+b5Q5b29Llo2yow8Y7xQ==-"@typescript-eslint/[email protected]":- version "4.33.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz#0dfb51c2908f68c5c08d82aefeaf166a17c24609"- integrity sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==- dependencies:- "@typescript-eslint/types" "4.33.0"- "@typescript-eslint/visitor-keys" "4.33.0"- debug "^4.3.1"- globby "^11.0.3"- is-glob "^4.0.1"- semver "^7.3.5"- tsutils "^3.21.0"-"@typescript-eslint/[email protected]":version "5.11.0"resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.11.0.tgz#53f9e09b88368191e52020af77c312a4777ffa43"@@ -3138,14 +3064,6 @@semver "^7.3.5"tsutils "^3.21.0"-"@typescript-eslint/[email protected]":- version "4.33.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz#2a22f77a41604289b7a186586e9ec48ca92ef1dd"- integrity sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg==- dependencies:- "@typescript-eslint/types" "4.33.0"- eslint-visitor-keys "^2.0.0"-"@typescript-eslint/[email protected]":version "5.11.0"resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.11.0.tgz#888542381f1a2ac745b06d110c83c0b261487ebb"@@ -3248,12 +3166,12 @@ acorn-walk@^8.0.0, acorn-walk@^8.1.1:resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1"integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==-acorn@^7.0.0, acorn@^7.1.1, acorn@^7.4.0:+acorn@^7.0.0, acorn@^7.1.1:version "7.4.1"resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa"integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==-acorn@^8.0.0, acorn@^8.0.4, acorn@^8.2.4, acorn@^8.4.1:+acorn@^8.0.0, acorn@^8.0.4, acorn@^8.2.4, acorn@^8.4.1, acorn@^8.7.0:version "8.7.0"resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.0.tgz#90951fde0f8f09df93549481e5fc141445b791cf"integrity sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==@@ -3283,16 +3201,6 @@ ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4:json-schema-traverse "^0.4.1"uri-js "^4.2.2"-ajv@^8.0.1:- version "8.10.0"- resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.10.0.tgz#e573f719bd3af069017e3b66538ab968d040e54d"- integrity sha512-bzqAEZOjkrUMl2afH8dknrq5KEk2SrwdBROR+vH1EKVQTqaUbJVPdc/gEdggTMM0Se+s+Ja4ju4TlNcStKl2Hw==- dependencies:- fast-deep-equal "^3.1.1"- json-schema-traverse "^1.0.0"- require-from-string "^2.0.2"- uri-js "^4.2.2"-ansi-colors@^4.1.1:version "4.1.1"resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348"@@ -4801,7 +4709,7 @@ [email protected], debug@^2.2.0, debug@^2.3.3, debug@^2.6.9:dependencies:ms "2.0.0"-debug@4, [email protected], debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@~4.3.1:+debug@4, [email protected], debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@~4.3.1:version "4.3.3"resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664"integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==@@ -5230,7 +5138,7 @@ enhanced-resolve@^5.7.0:graceful-fs "^4.2.4"tapable "^2.2.0"-enquirer@^2.3.5, enquirer@^2.3.6:+enquirer@^2.3.6:version "2.3.6"resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d"integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==@@ -5357,12 +5265,12 @@ escodegen@^2.0.0:optionalDependencies:source-map "~0.6.1"-eslint-config-next@^12.0.3:- version "12.0.10"- resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.0.10.tgz#f201f8f4514018f7ef46f454f56b81cf5c790379"- integrity sha512-l1er6mwSo1bltjLwmd71p5BdT6k/NQxV1n4lKZI6xt3MDMrq7ChUBr+EecxOry8GC/rCRUtPpH8Ygs0BJc5YLg==+eslint-config-next@^12.0.8:+ version "12.1.0"+ resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.1.0.tgz#8ace680dc5207e6ab6c915f3989adec122f582e7"+ integrity sha512-tBhuUgoDITcdcM7xFvensi9I5WTI4dnvH4ETGRg1U8ZKpXrZsWQFdOKIDzR3RLP5HR3xXrLviaMM4c3zVoE/pA==dependencies:- "@next/eslint-plugin-next" "12.0.10"+ "@next/eslint-plugin-next" "12.1.0""@rushstack/eslint-patch" "^1.0.8""@typescript-eslint/parser" "^5.0.0"eslint-import-resolver-node "^0.3.4"@@ -5458,7 +5366,7 @@ eslint-plugin-react-hooks@^4.3.0:resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.3.0.tgz#318dbf312e06fab1c835a4abef00121751ac1172"integrity sha512-XslZy0LnMn+84NEG9jSGR6eGqaZB3133L8xewQo3fQagbQuGt7a63gf+P1NGKZavEYEC3UXaWEAA/AqDkuN6xA==-eslint-plugin-react@^7.27.0, eslint-plugin-react@^7.27.1:+eslint-plugin-react@^7.27.0:version "7.28.0"resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.28.0.tgz#8f3ff450677571a659ce76efc6d80b6a525adbdf"integrity sha512-IOlFIRHzWfEQQKcAD4iyYDndHwTQiCMcJVJjxempf203jnNLUnW34AXLrV33+nEXoifJE2ZEGmcjKPL8957eSw==@@ -5478,20 +5386,13 @@ eslint-plugin-react@^7.27.0, eslint-plugin-react@^7.27.1:semver "^6.3.0"string.prototype.matchall "^4.0.6"-eslint-scope@^5.1.1:- version "5.1.1"- resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"- integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==+eslint-scope@^7.1.1:+ version "7.1.1"+ resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642"+ integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==dependencies:esrecurse "^4.3.0"- estraverse "^4.1.1"--eslint-utils@^2.1.0:- version "2.1.0"- resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27"- integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==- dependencies:- eslint-visitor-keys "^1.1.0"+ estraverse "^5.2.0"eslint-utils@^3.0.0:version "3.0.0"@@ -5500,11 +5401,6 @@ eslint-utils@^3.0.0:dependencies:eslint-visitor-keys "^2.0.0"-eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0:- version "1.3.0"- resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e"- integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==-eslint-visitor-keys@^2.0.0:version "2.1.0"resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"@@ -5515,60 +5411,60 @@ eslint-visitor-keys@^3.0.0:resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.2.0.tgz#6fbb166a6798ee5991358bc2daa1ba76cc1254a1"integrity sha512-IOzT0X126zn7ALX0dwFiUQEdsfzrm4+ISsQS8nukaJXwEyYKRSnEIIDULYg1mCtGp7UUXgfGl7BIolXREQK+XQ==-eslint@^7.32.0:- version "7.32.0"- resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d"- integrity sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==+eslint-visitor-keys@^3.3.0:+ version "3.3.0"+ resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826"+ integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==++eslint@^8.9.0:+ version "8.9.0"+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.9.0.tgz#a2a8227a99599adc4342fd9b854cb8d8d6412fdb"+ integrity sha512-PB09IGwv4F4b0/atrbcMFboF/giawbBLVC7fyDamk5Wtey4Jh2K+rYaBhCAbUyEI4QzB1ly09Uglc9iCtFaG2Q==dependencies:- "@babel/code-frame" "7.12.11"- "@eslint/eslintrc" "^0.4.3"- "@humanwhocodes/config-array" "^0.5.0"+ "@eslint/eslintrc" "^1.1.0"+ "@humanwhocodes/config-array" "^0.9.2"ajv "^6.10.0"chalk "^4.0.0"cross-spawn "^7.0.2"- debug "^4.0.1"+ debug "^4.3.2"doctrine "^3.0.0"- enquirer "^2.3.5"escape-string-regexp "^4.0.0"- eslint-scope "^5.1.1"- eslint-utils "^2.1.0"- eslint-visitor-keys "^2.0.0"- espree "^7.3.1"+ eslint-scope "^7.1.1"+ eslint-utils "^3.0.0"+ eslint-visitor-keys "^3.3.0"+ espree "^9.3.1"esquery "^1.4.0"esutils "^2.0.2"fast-deep-equal "^3.1.3"file-entry-cache "^6.0.1"functional-red-black-tree "^1.0.1"- glob-parent "^5.1.2"+ glob-parent "^6.0.1"globals "^13.6.0"- ignore "^4.0.6"+ ignore "^5.2.0"import-fresh "^3.0.0"imurmurhash "^0.1.4"is-glob "^4.0.0"- js-yaml "^3.13.1"+ js-yaml "^4.1.0"json-stable-stringify-without-jsonify "^1.0.1"levn "^0.4.1"lodash.merge "^4.6.2"minimatch "^3.0.4"natural-compare "^1.4.0"optionator "^0.9.1"- progress "^2.0.0"- regexpp "^3.1.0"- semver "^7.2.1"- strip-ansi "^6.0.0"+ regexpp "^3.2.0"+ strip-ansi "^6.0.1"strip-json-comments "^3.1.0"- table "^6.0.9"text-table "^0.2.0"v8-compile-cache "^2.0.3"-espree@^7.3.0, espree@^7.3.1:- version "7.3.1"- resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6"- integrity sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==+espree@^9.3.1:+ version "9.3.1"+ resolved "https://registry.yarnpkg.com/espree/-/espree-9.3.1.tgz#8793b4bc27ea4c778c19908e0719e7b8f4115bcd"+ integrity sha512-bvdyLmJMfwkV3NCRl5ZhJf22zBFo1y8bYh3VYb+bfzqNB4Je68P2sSuXyuFquzWLebHpNd2/d5uv7yoP9ISnGQ==dependencies:- acorn "^7.4.0"+ acorn "^8.7.0"acorn-jsx "^5.3.1"- eslint-visitor-keys "^1.3.0"+ eslint-visitor-keys "^3.3.0"esprima@^4.0.0, esprima@^4.0.1:version "4.0.1"@@ -5589,11 +5485,6 @@ esrecurse@^4.3.0:dependencies:estraverse "^5.2.0"-estraverse@^4.1.1:- version "4.3.0"- resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"- integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==-estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0:version "5.3.0"resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"@@ -6448,7 +6339,7 @@ glob-parent@^5.1.2, glob-parent@~5.1.2:dependencies:is-glob "^4.0.1"-glob-parent@^6.0.2:+glob-parent@^6.0.1, glob-parent@^6.0.2:version "6.0.2"resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3"integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==@@ -6499,7 +6390,7 @@ globals@^13.6.0, globals@^13.9.0:dependencies:type-fest "^0.20.2"-globby@^11.0.3, globby@^11.0.4:+globby@^11.0.4:version "11.1.0"resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==@@ -7008,7 +6899,7 @@ ignore@^4.0.6:resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==-ignore@^5.1.8, ignore@^5.2.0:+ignore@^5.2.0:version "5.2.0"resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a"integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==@@ -8150,7 +8041,7 @@ js-yaml@^3.13.1:argparse "^1.0.7"esprima "^4.0.0"-js-yaml@^4.0.0:+js-yaml@^4.0.0, js-yaml@^4.1.0:version "4.1.0"resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602"integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==@@ -8243,11 +8134,6 @@ json-schema-traverse@^0.4.1:resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==-json-schema-traverse@^1.0.0:- version "1.0.0"- resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2"- integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==-version "0.4.0"resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5"@@ -8624,11 +8510,6 @@ lodash.once@^4.1.1:resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac"integrity sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=-lodash.truncate@^4.4.2:- version "4.4.2"- resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193"- integrity sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=-[email protected], [email protected], lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0:version "4.17.21"resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"@@ -10883,7 +10764,7 @@ process@^0.11.10:resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI=-progress@^2.0.0, progress@^2.0.3:+progress@^2.0.3:version "2.0.3"resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==@@ -11474,7 +11355,7 @@ regexp.prototype.flags@^1.3.1:call-bind "^1.0.2"define-properties "^1.1.3"-regexpp@^3.1.0:+regexpp@^3.2.0:version "3.2.0"resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2"integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==@@ -11588,11 +11469,6 @@ require-directory@^2.1.1:resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I=-require-from-string@^2.0.2:- version "2.0.2"- resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909"- integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==-require-main-filename@^2.0.0:version "2.0.0"resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"@@ -11850,7 +11726,7 @@ semver-compare@^1.0.0:resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==[email protected], semver@^7.2.1, semver@^7.3.2, semver@^7.3.5:[email protected], semver@^7.3.2, semver@^7.3.5:version "7.3.5"resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==@@ -12560,17 +12436,6 @@ symbol-tree@^3.2.4:resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==-table@^6.0.9:- version "6.8.0"- resolved "https://registry.yarnpkg.com/table/-/table-6.8.0.tgz#87e28f14fa4321c3377ba286f07b79b281a3b3ca"- integrity sha512-s/fitrbVeEyHKFa7mFdkuQMWlH1Wgw/yEXMt5xACT4ZpzWFluehAxRtUUQKPuWhaLAWhFcVx6w3oC8VKaUfPGA==- dependencies:- ajv "^8.0.1"- lodash.truncate "^4.4.2"- slice-ansi "^4.0.0"- string-width "^4.2.3"- strip-ansi "^6.0.1"-tailwindcss@^3.0.0:version "3.0.19"resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.0.19.tgz#cd789953e6762af2e80c5a3e5d6da3a975ee8215"