Skip to content

feature: detect config path even if is .dependency-cruiser.cjs #227

@MH4GF

Description

@MH4GF

Details

detect config path even if is .dependency-cruiser.cjs .

Background

When --init is run in a project where package.json's type field exists and holds the value module, it'll write the dependency-cruiser configuration to .dependency-cruiser.cjs in stead of .dependency-cruiser.js.

ref: sverweij/dependency-cruiser#479

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions