-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Labels
bugSomething isn't workingSomething isn't working
Description
If I add a file test.lua to my .styluaignore, it will correctly get ignored in both of these usages:
$ stylua --respect-ignores test.sua
$ ls *.lua | xargs stylua --respect-ignoresUnfortunately it does not get ignored if matched in a glob pattern:
$ stylua --respect-ignores -g '*.lua' .I would have expected that scenario to skip the file as well, but it does not. In my case this causes problems in several projects and I have to manually generate lists of files with other tooling and pass them as arguments instead of being able to use glob patterns.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working