1
1
Fork
You've already forked ecformat
0

Support to ignore some files #19

Manually merged
BaumiCoder merged 15 commits from feature/1-ignore-files into main 2025年08月30日 14:11:21 +02:00

Resolves #1

User perspective

  • Respect git ignore settings (default - option to ignore these settings)
  • Option to ignore hidden files
  • Option to give additional ignore files (e.g., .ignore)

Developer perspective

Using the features of the ignore crate. Unit tests for the feature but no integration tests as the current output is only a dummy output.

Resolves #1 ### User perspective - Respect git ignore settings (default - option to ignore these settings) - Option to ignore hidden files - Option to give additional ignore files (e.g., `.ignore`) ### Developer perspective Using the features of the [ignore crate](https://crates.io/crates/ignore). Unit tests for the feature but no integration tests as the current output is only a dummy output.
ignore uses walkdir internally. Therefore, it is still in the Cargo.lock
also it is not in the Cargo.toml anymore.
filter after mapping to have a shorter filter predicate
Hidden files (and directory) mostly relevant for editorconfig.
To use some other ignore files for example only for ecformat
To have a separate group with that options in the help
This is the heading for this struct so placing it at definition
(like a doc comment) makes more sense.
The longer help texts needs indentation and nicer line breaks
to be readable for the user.
Dashes are more common in CLI option
(and clap also replaces underscores with dashes if the long name
is derivated from the field names).
BaumiCoder manually merged commit 69e4fc1399 into main 2025年08月30日 14:11:21 +02:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
Compat/Breaking
Breaking change that won't be backward compatible
EditorConfig
0.17.2
Issues to support version 0.17.2 of the EditorConfig specification
Kind
Bug
Something is not working
Kind
Chore
Some tasks maintainig tasks
Kind
Documentation
Documentation changes
Kind
Enhancement
Improve existing functionality
Kind
Feature
New functionality
Kind
Testing
Issue or pull request related to testing
Packaging
About packaging the project for some platform
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
WIP
Work in progress (Assignee is working on this issue)
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BaumiCoder/ecformat!19
Reference in a new issue
BaumiCoder/ecformat
No description provided.
Delete branch "feature/1-ignore-files"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?