Skip to content

Config

Suitener looks for suitener.config.ts at the project root and loads it through Bun.

import { defineConfig } from "suitener-core";
export default defineConfig({
target: "./src",
include: ["**/*.ts"],
exclude: ["**/*.spec.ts"]
});
interface SuitenerConfig {
target?: string;
include?: string[];
exclude?: string[];
}
{
target: ".",
include: [
"**/*.ts",
"**/*.tsx",
"**/*.js",
"**/*.jsx",
"**/*.mjs",
"**/*.cjs",
"**/*.go",
"**/*.rs",
"package.json",
"Cargo.toml",
"go.mod"
],
exclude: [
"node_modules/**",
"dist/**",
"build/**",
".git/**",
"suitener-results/**",
"suitener-stubs/**",
"*.test.*",
"*.spec.*",
"__tests__/**",
"tests/**"
]
}

The scanner has built-in ignored directories and file classification. The config object is resolved and exposed, but include/exclude glob filtering is intentionally minimal in the current implementation.