Nested file scan help
See original GitHub issueI am wonder if this is a feature or a bug.
I want to do spelling recursively in my project. But it doesn’t seem like cspell is looking through the files recursively throughout the nested folders.
In the end I had to set up something like this:
My npm script:
"spell": "cspell **/*.ts | cspell src/**/*.ts | cspell src/app/**/*.ts | cspell src/app/**/**/*.ts | cspell src/app/**/**/**/*.ts | cspell src/app/**/**/**/**/*.ts | cspell src/app/**/**/**/**/**/*.ts"
When I run
npm run spell
I get:
> cspell **/*.ts | cspell src/**/*.ts | cspell src/app/**/*.ts | cspell src/app/**/**/*.ts | cspell src/app/**/**/**/*.ts | cspell src/app/**/**/**/**/*.ts | cspell src/app/**/**/**/**/**/*.ts
CSpell: Files checked: 4, Issues found: 0 in 0 files
CSpell: Files checked: 9, Issues found: 0 in 0 files
CSpell: Files checked: 22, Issues found: 40 in 2 files
CSpell: Files checked: 62, Issues found: 1 in 1 files
CSpell: Files checked: 88, Issues found: 0 in 0 files
CSpell: Files checked: 165, Issues found: 1 in 1 files
/Users/me/repositories/repo/project/src/app/my-component/my.component.ts:7:43 - Unknown word (dont)
Is there a simpler and more reliable way to scan through all my files in my project?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
scanning files into nested structures - Stack Overflow
First of all, when scanf (and family) reads a string it reads a space delimited string, so if the string you want to...
Read more >Setting limits on nested files - TechDocs - Broadcom Inc.
Maximum container scan depth. The nested depth in a container file (such as a .zip file or email message) exceeds the number specified....
Read more >[KB228] Scanning nested archives with ESET Smart Security ...
Advanced archive scanning uncovers hidden malware, even in deeply nested compressed files. Easy-to-use settings allow you to control maximum depth and file ......
Read more >Does Trend Micro Antivirus+ detect malware in nested archives?
I have to admit that I played only with EICAR test files, but I'. ... the malware in a nested zip file by...
Read more >Nested folder recursion, (Not scanning a library) - Emby
IF I add each folder (#, A-Z) it happily scans everything under that ... -i file:"/media/Videos/Movies/A/The Aviator (1985)/The Aviator ...
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 FreeTop 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
Top GitHub Comments
Hey, @dereklin, I don’t know if is too late to help you, but I had this same problem for a moment. After a time, I figured out how to solve it.
I created a “.cspell.json” file, and inside the config object I placed a “files” property with the value being “**/*”. It will scan all your files, and if you want to ignore some of them, you can specify it inside “ignorePaths” property.
This is how my file looked:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.