Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
{
"extends": "next/core-web-vitals",
"$schema": "https://json.schemastore.org/eslintrc.json",
"extends": [
"next/core-web-vitals",
"plugin:tailwindcss/recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": ["@typescript-eslint"],
"rules": {
"indent": "off",
"linebreak-style": ["error", "unix"],
"quotes": ["error", "double"],
"semi": ["error", "always"]
"semi": ["error", "always"],
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/no-misused-promises": "error"
},
"parserOptions": {
"project": ["./tsconfig.json"]
}
}
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ node_modules
package-lock.json
.env.local

*.ttf

tsconfig.tsbuildinfo
10 changes: 0 additions & 10 deletions .prettierrc.json

This file was deleted.

25 changes: 13 additions & 12 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
// Built in VSC stuff
"files.eol": "\n",
"typescript.tsdk": "./node_modules/typescript/lib",

// Markdoc extension (See extensions.json -> mohitsingh.markdoc)
"[markdoc]": {
"editor.autoClosingBrackets": "always"
},
"files.associations": {
"*.css": "tailwindcss" ,
"*.md": "markdoc"
}
// Built in VSC stuff
"files.eol": "\n",
"typescript.tsdk": "node_modules\\typescript\\lib",
// Markdoc extension (See extensions.json -> mohitsingh.markdoc)
"[markdoc]": {
"editor.autoClosingBrackets": "always"
},
"files.associations": {
"*.css": "tailwindcss",
"*.md": "markdoc"
},
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.preferences.importModuleSpecifier": "non-relative",
}
1 change: 1 addition & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
Loading