Skip to content

Commit

Permalink
Properly ignore stories and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Dec 5, 2024
1 parent ebed2a8 commit e40a557
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions react-scanner.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ module.exports = {
crawlFrom: './',
// Needed for properly reporting components with dot notation
includeSubComponents: true,
// Exclude usage in tests, stories, and React Native files.
globs: [ '**/!(test|stories)/!(*stories).@(js|ts)?(x)' ],
// Exclude any vendor or docs directories
exclude: [
'bin',
Expand Down

0 comments on commit e40a557

Please sign in to comment.