Autoformat ignores files in .gitignore (#1704)

* Make autofmt ignore gitignored files

* don't panic if it can't get the git ignore files

* replace some with ok

* Filter rs files from gitignore

* fmt

* remove early return

* only ignore paths that start with target

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
This commit is contained in:
Exotik850andEvan Almloff authored and GitHub committed 2023-12-13 09:44:01 -06:00
1 parent 0cb13942da
commit 1ec230ae29
2 files changed
+96 -80

No files matched your search

+1
View File
@@ -83,6 +83,7 @@ dioxus-html = { workspace = true, features = ["hot-reload-context"] }
dioxus-core = { workspace = true, features = ["serialize"] }
dioxus-hot-reload = { workspace = true }
interprocess-docfix = { version = "1.2.2" }
gitignore = "1.0.8"
[features]
default = []