Comment on page
Ignoring components
Omlet supplies sensible default configurations to ignore certain files such as Storybook stories documentation or test files. 👇
**/node_modules/**
**/*.d.ts
**/stories/**/*
**/.storybook/**/*
**/*.stories.{jsx,tsx,js,ts}
**/*.{spec,test}.{jsx,tsx,js,ts}
**/{__test__,tests}/**/*.{jsx,tsx,js,ts}
You can also pass a glob pattern to the
--ignore
option in the analyze
CLI command to filter out directories, files, or components you do not want to track.You can pass multiple ignore glob patterns:
--ignore 'glob/one/' --ignore 'glob/two/'