Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Added Prettier and VSCode Config files

Max Programmingab7481ae4863
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000000..0aa585d3fb
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,13 @@
+{
+ "importOrder": [
+ "^(next/(.*)$)|^(next$)",
+ "^(react/(.*)$)|^(react$)",
+ "<THIRD_PARTY_MODULES>",
+ "^@/components/(.*)$|^components/(.*)$",
+ "^@/lib/(.*)$",
+ "^@/styles/(.*)$",
+ "^[./]"
+ ],
+ "importOrderSeparation": false,
+ "importOrderSortSpecifiers": true
+}
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 0000000000..0a4019aca7
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,13 @@
+{
+ // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
+ // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
+
+ // List of extensions which should be recommended for users of this workspace.
+ "recommendations": [
+ "esbenp.prettier-vscode",
+ "Prisma.prisma",
+ "bradlc.vscode-tailwindcss"
+ ],
+ // List of extensions recommended by VS Code that should not be recommended for users of this workspace.
+ "unwantedRecommendations": []
+}
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000000..1ac30151ab
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,5 @@
+{
+ "editor.formatOnPaste": true,
+ "editor.formatOnSave": true,
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+}