Skip to content

Commit

Permalink
no semicolons!
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbloxhub committed Oct 18, 2024
1 parent cfde33f commit dfbb921
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 19 deletions.
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"useTabs": true,
"singleQuote": false,
"semi": false,
"trailingComma": "all",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ An OpenAI-compatible LLM server, like [LocalAI](https://localai.io/).
### First Steps

Run `direnv allow .`. This will take a bit of time as it installs a lot of Nix packages.
Run `just register-toolchain install` to set up the proper python and js environment.
Run `just register-toolchain install` to set up the proper python and js environment.
12 changes: 6 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import js from "@eslint/js";
import ts from "typescript-eslint";
import svelte from "eslint-plugin-svelte";
import prettier from "eslint-config-prettier";
import globals from "globals";
import js from "@eslint/js"
import ts from "typescript-eslint"
import svelte from "eslint-plugin-svelte"
import prettier from "eslint-config-prettier"
import globals from "globals"

/** @type {import('eslint').Linter.FlatConfig[]} */
export default [
Expand Down Expand Up @@ -30,4 +30,4 @@ export default [
{
ignores: ["build/", ".svelte-kit/", "dist/"],
},
];
]
2 changes: 1 addition & 1 deletion src/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ declare global {
}
}

export {};
export {}
8 changes: 4 additions & 4 deletions src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, it, expect } from "vitest";
import { describe, it, expect } from "vitest"

describe("sum test", () => {
it("adds 1 + 2 to equal 3", () => {
expect(1 + 2).toBe(3);
});
});
expect(1 + 2).toBe(3)
})
})
8 changes: 4 additions & 4 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import adapter from "@sveltejs/adapter-auto";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
import adapter from "@sveltejs/adapter-auto"
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"

/** @type {import('@sveltejs/kit').Config} */
const config = {
Expand All @@ -13,6 +13,6 @@ const config = {
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter(),
},
};
}

export default config;
export default config
6 changes: 3 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vitest/config";
import { sveltekit } from "@sveltejs/kit/vite"
import { defineConfig } from "vitest/config"

export default defineConfig({
plugins: [sveltekit()],
Expand All @@ -11,4 +11,4 @@ export default defineConfig({
ignored: ["**/__pycache__/**", "**/.*_cache/**", "**/.venv/**", "**/.direnv/**"],
},
},
});
})

0 comments on commit dfbb921

Please sign in to comment.