question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

depcheck should ignore hidden folders and files

See original GitHub issue

I don’t see depcheck is ignoring hidden folders like .circleci or .history. Now .history holds the local versioning of files in vscode. and errors are marked against those files. Please validate

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rumplcommented, Jun 5, 2020

Ok so this seems fixed in master:

$ ls -lRa
total 16
drwxr-xr-x   5 djordjelukic  wheel  160 Jun  5 16:00 .
drwxrwxrwt  10 root          wheel  320 Jun  5 16:05 ..
drwxr-xr-x   3 djordjelukic  wheel   96 Jun  5 16:01 .test
-rw-r--r--   1 djordjelukic  wheel   29 Jun  5 16:00 index.js
-rw-r--r--   1 djordjelukic  wheel  230 Jun  5 16:00 package.json

./.test:
total 8
drwxr-xr-x  3 djordjelukic  wheel   96 Jun  5 16:01 .
drwxr-xr-x  5 djordjelukic  wheel  160 Jun  5 16:00 ..
-rw-r--r--  1 djordjelukic  wheel   24 Jun  5 16:01 index.js

$ node bin/depcheck.js
Missing dependencies
* colors: ./index.js
* r: ./.test/index.js

$ node bin/depcheck.js --ignore-patterns=".*"
Missing dependencies
* colors: ./index.js

So it will be available once it’s published, should be soon, @znarf wana publish 1.0.0 ?

0reactions
znarfcommented, Jul 8, 2020

--ignore-patternsand --ignore-path should work properly from 1.0.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

depcheck | Yarn - Package Manager
Depcheck is a tool for analyzing the dependencies in a project to see: how each dependency is used, which dependencies are useless, and...
Read more >
How to ignore all hidden directories/files recursively in a git ...
This will make ignoring all hidden/dot files recursively the default for every repository on the machine. A separate .gitignore file for ...
Read more >
depcheck - npm
Depcheck not only recognizes the dependencies in JavaScript files, ... A comma separated array containing directory names to ignore.
Read more >
Depcheck: Check Your Npm Module for Unused Dependencies
Depcheck not only recognizes the dependencies in JavaScript files, but also supports these ... A comma separated array containing directory names to ignore....
Read more >
SPMT - Ignore hidden folders - Microsoft Q&A
As a workaround, as the migration report file extension is csv (SummaryReport.csv and FailureSummary.csv), we could use the filter feature in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found