Include .storybook in deadcode detection
This commit is contained in:
@@ -6,6 +6,7 @@ import { exit } from "process";
|
|||||||
function ignoreFile(file: string): boolean {
|
function ignoreFile(file: string): boolean {
|
||||||
return (
|
return (
|
||||||
containsPath("gulpfile.ts", file) ||
|
containsPath("gulpfile.ts", file) ||
|
||||||
|
containsPath(".storybook", file) ||
|
||||||
containsPath(join("src", "stories"), file) ||
|
containsPath(join("src", "stories"), file) ||
|
||||||
pathsEqual(
|
pathsEqual(
|
||||||
join("test", "vscode-tests", "jest-runner-installed-extensions.ts"),
|
join("test", "vscode-tests", "jest-runner-installed-extensions.ts"),
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"include": ["**/*.ts*"],
|
"include": ["**/*.ts*", ".storybook/**/*.ts*"],
|
||||||
"exclude": ["node_modules"]
|
"exclude": ["node_modules"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user