🎨 Add linting and prettier to more places (#1432)

This commit is contained in:
Luke Vella 2024-11-09 15:43:25 +00:00 committed by GitHub
parent de6963db4f
commit ee68d80026
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
70 changed files with 136 additions and 141 deletions

View file

@ -7,6 +7,10 @@
"./client": "./src/client/index.ts",
"./next/middleware": "./src/next/middleware.ts"
},
"scripts": {
"lint": "eslint ./src",
"type-check": "tsc --noEmit"
},
"dependencies": {
"posthog-js": "^1.178.0",
"posthog-node": "^4.2.1"

View file

@ -1,4 +1,5 @@
import { NextResponse } from "next/server";
import type { NextResponse } from "next/server";
import { POSTHOG_BOOTSTAP_DATA_COOKIE_NAME } from "../constants";
const posthogApiKey = process.env.NEXT_PUBLIC_POSTHOG_API_KEY;

View file

@ -1,5 +1,5 @@
{
"extends": "@rallly/tsconfig/next.json",
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}