Skip to content

Standardize DS_EXCLUDED_PATHS default value across templates and documentation

Summary

The DS_EXCLUDED_PATHS default value is inconsistent across templates, components, and documentation.

Current state
  • Component: "**/spec,**/test,**/tests,**/tmp"
  • latest template: "spec, test, tests, tmp, node_modules"
  • v2 template: "**/spec,**/test,**/tests,**/tmp"
  • Documentation: "spec, test, tests, tmp"
  • Analyzer README: "node_modules", ".bundle", "vendor", ".git"

Tasks

  • Update v2 template with default: "**/spec,**/test,**/tests,**/tmp,**/node_modules,**/.bundle,**/vendor,**/.git"
  • Update component with default: "**/spec,**/test,**/tests,**/tmp,**/node_modules,**/.bundle,**/vendor,**/.git"
  • Update DS documentation to reflect current logic

Note

This issue is labeled as typebug since not excluding large directories such as .git, vendor, and .bundle can degrade performance during scans, while node_modules was added earlier as a bug fix to address permission errors.


See related discussion: !209469 (comment 2831751952)

Edited by Orin Naaman