Skip to content

Commit

Permalink
chore: set biome to not include type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bmstefanski committed Jan 1, 2025
1 parent ecc7468 commit 47548b3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/gateway-service/src/app.controller.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Test, type TestingModule } from "@nestjs/testing";
import { Test, TestingModule } from "@nestjs/testing";
import { AppController } from "./app.controller";
import { AppService } from "./app.service";
import { describe, beforeEach, it, expect } from "vitest";
Expand Down
2 changes: 1 addition & 1 deletion apps/gateway-service/src/app.controller.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Controller, Get } from "@nestjs/common";
import type { AppService } from "./app.service";
import { AppService } from "./app.service";

@Controller()
export class AppController {
Expand Down
4 changes: 2 additions & 2 deletions apps/gateway-service/test/app.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Test, type TestingModule } from "@nestjs/testing";
import type { INestApplication } from "@nestjs/common";
import { Test, TestingModule } from "@nestjs/testing";
import { INestApplication } from "@nestjs/common";
import * as request from "supertest";
import { AppModule } from "./../src/app.module";
import { describe, beforeEach, it } from "vitest";
Expand Down
2 changes: 1 addition & 1 deletion apps/storefront/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Metadata } from "next";
import { Metadata } from "next";
import localFont from "next/font/local";
import "./globals.css";

Expand Down
6 changes: 5 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"style": {
"useImportType": "off",
"noNonNullAssertion": "off"
}
},
"ignore": ["**/.*.js", "node_modules", "dist", ".next"]
}
Expand Down

0 comments on commit 47548b3

Please sign in to comment.