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

feature(cli): adds --no-config option #747

Merged
merged 1 commit into from
Feb 17, 2023

Conversation

sverweij
Copy link
Owner

@sverweij sverweij commented Feb 17, 2023

Description

  • Adds a --no-config option

Motivation and Context

In the future we want dependency-cruiser to pick up configuration files without having to specify one. That future feature will be a breaking change a.o. because it would be harder to run without a configuration file if there's one available. This option ensures that that behavior remains available, because, altough dependency-cruiser is most useful when used with a configuration file, it can be used without one and we can't be certain that it isn't used without one.

How Has This Been Tested?

  • green ci

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Documentation only change
  • Refactor (non-breaking change which fixes an issue without changing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • 📖

    • My change doesn't require a documentation update, or ...
    • it does and I have updated it
  • ⚖️

    • The contribution will be subject to The MIT license, and I'm OK with that.
    • The contribution is my own original work.
    • I am ok with the stuff in CONTRIBUTING.md.

@sverweij sverweij force-pushed the feature/adds-no-config-cli-option branch from 39199ab to 6005b30 Compare February 17, 2023 20:51
@sverweij sverweij merged commit 1d0a709 into develop Feb 17, 2023
@sverweij sverweij deleted the feature/adds-no-config-cli-option branch February 17, 2023 20:55
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

Successfully merging this pull request may close these issues.

1 participant