Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"skipped" files that are from node_modules? #384

Open
FFdhorkin opened this issue Jul 18, 2023 · 0 comments
Open

"skipped" files that are from node_modules? #384

FFdhorkin opened this issue Jul 18, 2023 · 0 comments

Comments

@FFdhorkin
Copy link

Madge version: 6.1.0

Madge is emitting warnings about skipped files that aren't part of my repository. It's only doing this for a couple of dependency imports... not all of my dependencies.

my .madgerc:

{
    "tsConfig": "./tsconfig.json",
    "fileExtensions": [
        "cjs",
        "mjs",
        "js",
        "jsx",
        "cts",
        "mts",
        "ts",
        "tsx"
    ],
    "detectiveOptions": {
        "ts": {
            "skipTypeImports": true
        }
    }
}

(Same behavior happens if I remove tsConfig/detectiveOptions from my config)

Command being run: madge --circular --warning ./cypress ./anotherFolder

Output:

Processed 16 files (535ms) (5 warnings)

✔ No circular dependency found!

✖ Skipped 5 files

ethers
cypress-wait-until
cypress-plugin-api
chai-parentheses
cypress-terminal-report/src/installLogsCollector

Relevant import statements:
import { ethers } from 'ethers'; in ./cypress/someFolder/contracts.ts
import 'cypress-wait-until'; in ./cypress/support/commands.ts
import 'cypress-plugin-api'; in ./cypress/support/e2e.ts
import dirtyChai from 'chai-parentheses'; in ./cypress/support/e2e.ts
import logsCollector from 'cypress-terminal-report/src/installLogsCollector'; in ./cypress/support/e2e.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant