Scanner exclude: Negate specific paths?
See original GitHub issueHaving excluded **/node_modules
(as per the defaults) I’d like to include an npm package that is to provide Sass variables that I’d like IntelliSense to be aware of. I’ve tried the following in user settings but it doesn’t seem to work:
"scss.scannerExclude": [
"**/.git",
"**/node_modules",
"**/bower_components",
"!**/node_modules/package-to-include"
]
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:7
Top Results From Across the Web
Is there an easy way to exclude paths from being scanned?
You can exclude paths from being scanned by configuring the path as an Excluded Path for the Target. This can be done from...
Read more >Exclude everything from the sonar scan except one of its ...
Hi I want to exclude sonar scans everything except a sub directory in Js how can I achieve this. I tried the following...
Read more >Narrowing the focus with analysis scope
This setting lets you exclude specific files or directories from duplication checking. The value is a comma-delimited list of path-matching patterns relative to ......
Read more >Exclude dirs from SAST, Dependency Scanning analysis
Introduce new variables SAST_EXCLUDED_PATHS and DS_EXCLUDED_PATHS to set a list of excluded paths in SAST and Dependency Scanning, ...
Read more >Excluding files from scanning - TechDocs - Broadcom Inc.
You can use the command-line scanner to exclude files in the following ways: Exclude the files that exceed a limit from being scanned....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Have node_modules excluded globally didn’t work for me either. However this did:
@octref maybe it works on mac, but doesn’t seem to work on windows