File .deepsource.toml
not found in the default branch of the repository root. Please refer to the docs.
1import { defineConfig } from "vite";
2import react from "@vitejs/plugin-react";
3import vitePluginImp from "vite-plugin-imp"; 4import { splitVendorChunkPlugin } from "vite";
5import tsconfigPaths from "vite-tsconfig-paths";
6
31 name: string;
32}
33
34interface InvoiceOrganization {35 company_name: string;
36}
37
1import { CreatePlanType, PlanType } from "./plan-type"; 2
3export interface BacktestType {
4 backtest_name: string;
1import { PlanDisplay } from "./plan-type";
2import { SubscriptionType } from "./subscription-type"; 3import { BalanceAdjustments, InvoiceType} from "./invoice-type";
4
5export interface CustomerType {
1import { PlanDisplay } from "./plan-type"; 2import { SubscriptionType } from "./subscription-type";
3import { BalanceAdjustments, InvoiceType} from "./invoice-type";
4
Unused variables are generally considered a code smell and should be avoided.
Removing unused references - It prevents unused modules from being loaded at runtime, improving performance, and preventing the compiler from loading metadata that will never be used. - It prevents conflicts that may occur when trying to reference another variable.
NOTE: If you have intentionally left a variable unused, we suggest you to prefix the variable name with a _
to prevent them from being flagged by DeepSource.
import fs from 'fs' // <- unused
import { readFileSync } from 'fs'
const text = readFileSync('declaration_of_independence.txt', 'utf-8')
console.log(text)
import { readFileSync } from 'fs'
const text = readFileSync('declaration_of_independence.txt', 'utf-8')
console.log(text)