Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

feat: Ignore Unimported Files Mentioned in .gitignore #184

Merged
merged 4 commits into from
Oct 2, 2023

Conversation

Fritsch-Tech
Copy link
Collaborator

Changes Made

This pull request introduces the option to ignore unimported files listed in the .gitignore file, addressing the issue raised in #173. The handling of the .gitignore is managed through ignore, as per your recommendation.

This functionality can be enabled via the respectGitignore setting, which is set to true by default.

Purpose

The addition of this feature enhances the tool's usability by allowing it to seamlessly work with projects where certain files are intentionally excluded via .gitignore.

To-Do

  • Add information to the README regarding this new feature.
  • Implement appropriate tests to ensure the functionality is robust.

Before proceeding with the implementation of these tasks, I wanted to gather your feedback on the current changes. Your input is highly valuable.

Thank you for your time and consideration.

@smeijer
Copy link
Owner

smeijer commented Oct 1, 2023

Thanks! The implementation looks good to me. If you could add those tests you mentioned and a quick line in the readme, that'd be great.

@Fritsch-Tech
Copy link
Collaborator Author

Tests and a mention in the README are both added now.

Copy link
Owner

@smeijer smeijer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@smeijer smeijer merged commit 4a1e1ac into smeijer:main Oct 2, 2023
13 checks passed
@smeijer
Copy link
Owner

smeijer commented Oct 2, 2023

Thanks! This is great

FYI, this repo qualifies for hacktoberfest contributions if that's your thing.

I've also added you as a collaborator on the project. Please feel free to continue to make PRs as you feel the need. You can now make your branches directly on the repo rather than your fork if you want.

Thanks again! Much appreciated. ❤️

@smeijer smeijer mentioned this pull request Oct 2, 2023
@smeijer
Copy link
Owner

smeijer commented Oct 2, 2023

@all-contributors please add @Fritsch-Tech for code, test

@allcontributors
Copy link
Contributor

@smeijer

I've put up a pull request to add @Fritsch-Tech! 🎉

smeijer pushed a commit that referenced this pull request Oct 2, 2023
Adds @Fritsch-Tech as a contributor for code, test.

This was requested by smeijer [in this
comment](#184 (comment))

[skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
@smeijer
Copy link
Owner

smeijer commented Nov 18, 2023

🎉 This PR is included in version 1.31.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants