Closed hongz1 closed 1 year ago
I don't know either, here in my project it is getting the "TODOs" from "node_modules". I don't know if it would be feasible to automatically ignore directories that are in .gitignore
I created a PR for excluding node_modules
properly by default: https://github.com/Gruntfuggly/todo-tree/pull/673, but for now you can use this setting:
"todo-tree.filtering.excludeGlobs": ["**/node_modules/*/**"],
@hongz1 If you want to exclude build
directory try this:
"todo-tree.filtering.excludeGlobs": ["**/node_modules/*/**", "**/build/*/**"],
I created a PR for excluding
node_modules
properly by default: #673, but for now you can use this setting:"todo-tree.filtering.excludeGlobs": ["**/node_modules/*/**"],
@hongz1 If you want to exclude
build
directory try this:"todo-tree.filtering.excludeGlobs": ["**/node_modules/*/**", "**/build/*/**"],
Looking forward to this PR being merged.
The PR has now been merged, so I'm going to close this. Please feel free to re-open if you still believe there is an issue.
Anyone knows how to exclude build directory? I am running react and todo-tree keep listing "build/static/js". I added node_modules and build but only build directory was listed.
"todo-tree.filtering.excludeGlobs": [ "**/node_modules/**", "**/build/**" ],