Skip to content

Commit

Permalink
style: use Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
slashtechno committed Dec 27, 2024
1 parent 880b4f2 commit 272bda2
Show file tree
Hide file tree
Showing 25 changed files with 5,411 additions and 5,223 deletions.
14 changes: 14 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// 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"

],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [

]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
}
1 change: 1 addition & 0 deletions frontend/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
12 changes: 6 additions & 6 deletions frontend/openapi-ts.config.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { defineConfig } from '@hey-api/openapi-ts';
import { defaultPlugins } from '@hey-api/openapi-ts';
import { defineConfig } from "@hey-api/openapi-ts";
import { defaultPlugins } from "@hey-api/openapi-ts";

export default defineConfig({
client: '@hey-api/client-fetch',
input: 'http://localhost:8000/openapi.json',
output: 'src/lib/client',
client: "@hey-api/client-fetch",
input: "http://localhost:8000/openapi.json",
output: "src/lib/client",
plugins: [
...defaultPlugins,
{
asClass: true,
name: '@hey-api/sdk',
name: "@hey-api/sdk",
},
],
});
Loading

0 comments on commit 272bda2

Please sign in to comment.