ignore: Matching using overrides and ignore files #1783
-
Hey 👋 I've been recently using the One thing that a user of mine reported was that globs inside of a From what I can tell, because of this glob I'm adding as an override by default, if a user then adds a specific glob to their ignore file to ignore, it won't be used (e.g. a user added Having further read the docs, it says
So I'm assuming its failing at this case - no further tests are being done to see whether to ignore the file. I was wondering, is there any way to go about what I want? Ideally there would be a way to toggle whether this stops matching completely (as current), or whether the whitelist glob acts as a starting thing to check and then continues onwards if matched (what I think would work for me). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
No, there is no way to change this behavior. That's the purpose of overrides: to override everything else. If you only want to look at Lua files, then just do that. Ignore anything that isn't a Lua file when visiting each directory entry. |
Beta Was this translation helpful? Give feedback.
No, there is no way to change this behavior. That's the purpose of overrides: to override everything else.
If you only want to look at Lua files, then just do that. Ignore anything that isn't a Lua file when visiting each directory entry.