Include .storybook in deadcode detection

This commit is contained in:
Robert
2023-09-18 15:36:56 +01:00
parent 3d415d2852
commit 26c301603d
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ import { exit } from "process";
function ignoreFile(file: string): boolean {
return (
containsPath("gulpfile.ts", file) ||
containsPath(".storybook", file) ||
containsPath(join("src", "stories"), file) ||
pathsEqual(
join("test", "vscode-tests", "jest-runner-installed-extensions.ts"),

View File

@@ -1,5 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["**/*.ts*"],
"include": ["**/*.ts*", ".storybook/**/*.ts*"],
"exclude": ["node_modules"]
}