Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

build: prettier leaves side-effect imports where they are

Maurice517fa21e2f9a
diff --git a/server/.prettierrc b/server/.prettierrc
index 7a664f6b6..0e5bfb4d7 100644
--- a/server/.prettierrc
+++ b/server/.prettierrc
@@ -14,5 +14,6 @@
"importOrderParserPlugins": [
"typescript",
"decorators-legacy"
- ]
+ ],
+ "importOrderSideEffects": false
}
diff --git a/server/tests/unit/nest-mcp/discovery.test.ts b/server/tests/unit/nest-mcp/discovery.test.ts
index 53b19b928..c3b721762 100644
--- a/server/tests/unit/nest-mcp/discovery.test.ts
+++ b/server/tests/unit/nest-mcp/discovery.test.ts
@@ -4,6 +4,7 @@ import { Injectable, Module } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import 'reflect-metadata';
+
import { afterEach, describe, expect, it } from 'vitest';
import { z } from 'zod';
diff --git a/server/tests/unit/nest-mcp/error-mapper.test.ts b/server/tests/unit/nest-mcp/error-mapper.test.ts
index bfaf5da79..565979150 100644
--- a/server/tests/unit/nest-mcp/error-mapper.test.ts
+++ b/server/tests/unit/nest-mcp/error-mapper.test.ts
@@ -11,6 +11,7 @@ import { Module } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import 'reflect-metadata';
+
import { afterEach, describe, expect, it } from 'vitest';
import { z } from 'zod';
diff --git a/server/tests/unit/nest-mcp/tool-gate.test.ts b/server/tests/unit/nest-mcp/tool-gate.test.ts
index 902f7346a..07bce2bb3 100644
--- a/server/tests/unit/nest-mcp/tool-gate.test.ts
+++ b/server/tests/unit/nest-mcp/tool-gate.test.ts
@@ -13,6 +13,7 @@ import { Injectable, Module } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import 'reflect-metadata';
+
import { afterEach, describe, expect, it, vi } from 'vitest';
import { z } from 'zod';
diff --git a/shared/.prettierrc b/shared/.prettierrc
index 7a664f6b6..0e5bfb4d7 100644
--- a/shared/.prettierrc
+++ b/shared/.prettierrc
@@ -14,5 +14,6 @@
"importOrderParserPlugins": [
"typescript",
"decorators-legacy"
- ]
+ ],
+ "importOrderSideEffects": false
}