Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
hstove committed Sep 4, 2024
1 parent c0c0386 commit 4653f2c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
14 changes: 13 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,17 @@
"**/dist/**/*": true
},
"deno.enable": false,
"tailwindCSS.experimental.configFile": "./docs-site/tailwind.config.ts"
"tailwindCSS.experimental.configFile": "./docs-site/tailwind.config.ts",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
2 changes: 1 addition & 1 deletion packages/clarigen-test/vitest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { vitestSetupFilePath, getClarinetVitestsArgv } from '@hirosystems/clarin
export default defineConfig({
test: {
environment: 'clarinet', // use vitest-environment-clarinet
pool: "forks",
pool: 'forks',
poolOptions: {
threads: { singleThread: true },
forks: { singleFork: true },
Expand Down
10 changes: 4 additions & 6 deletions packages/cli/test/dependencies/vitest.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

/// <reference types="vitest" />

import { defineConfig } from "vite";
import { vitestSetupFilePath, getClarinetVitestsArgv } from "@hirosystems/clarinet-sdk/vitest";
import { defineConfig } from 'vite';
import { vitestSetupFilePath, getClarinetVitestsArgv } from '@hirosystems/clarinet-sdk/vitest';

/*
In this file, Vitest is configured so that it works seamlessly with Clarinet and the Simnet.
Expand All @@ -21,8 +20,8 @@ import { vitestSetupFilePath, getClarinetVitestsArgv } from "@hirosystems/clarin

export default defineConfig({
test: {
environment: "clarinet", // use vitest-environment-clarinet
pool: "forks",
environment: 'clarinet', // use vitest-environment-clarinet
pool: 'forks',
poolOptions: {
threads: { singleThread: true },
forks: { singleFork: true },
Expand All @@ -39,4 +38,3 @@ export default defineConfig({
},
},
});

0 comments on commit 4653f2c

Please sign in to comment.