Problem: .styluaignore
does not ignore folders or directories like .gitignore
, .rgignore
, etc. do. Instead, full globbing patterns (*.lua
or **/*.lua
) would be needed to ignore all files under a directory.
EDIT: This seems to be the case only when used with --respect-ignores <pattern>
.
(Tested with stylua 0.19.1, which already includes #765)
Let's say we have src/foo.lua
and build/foo.lua
in the project root (with .styluaignore
).
With the following .styluaignore
:
$ stylua --check --respect-ignores build/foo.lua
would not ignore build/foo.lua
.
build/foo.lua
should be ignored.
With the following .styluaignore
:
$ stylua --check --respect-ignores build/foo.lua
does ignore build/foo.lua
. This behavior is consistent with .gitignore
, etc.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4