MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isConfigOrTooling

Function isConfigOrTooling

scripts/oxlint-plugin-executor/utils.js:10–16  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

8}
9
10export function isConfigOrTooling(filename) {
11 const normalized = toRepoRelative(filename);
12 return (
13 /(^|\/)(vite|vitest|tsup|drizzle|autumn)\.config\.ts$/.test(normalized) ||
14 normalized.startsWith("scripts/")
15 );
16}
17
18export function isTestLike(filename) {
19 const normalized = toRepoRelative(filename);

Callers 4

ImportDeclarationFunction · 0.90
createFunction · 0.90
createFunction · 0.90
createFunction · 0.90

Calls 1

toRepoRelativeFunction · 0.85

Tested by

no test coverage detected