Whitelist hidden files from globbing
See original GitHub issueRenamed a controller to have a .
in front of the file and caused the following error when running lux serve
.
This can pose a problem when using hidden files for custom linting .eslintrc
, ignoring files .gitignore
.eslintignore
or even keeping an empty directory on git .gitkeep
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
how to glob every hidden file except current and parent directory
I want to glob every hidden file and directory, but not the current ( . ) and parent directory ( .. ). I...
Read more >search in hidden files not listed in .gitignore #1303 - GitHub
Note that if a hidden file or a directory is whitelisted in an ignore file, then it will be searched even if this...
Read more >How should I glob for all hidden files? - Ask Ubuntu
I want to carry out some action (say chown ) on all the hidden files in a directory. I know that this .*...
Read more >git - .gitignore whitelist on directory and its contents
Put a hidden file (such as .gitignore) into the directory, and it will be saved. But to keep the directory empty, even if...
Read more >How to use _one_ shell globbing expression to list all files (of ...
I want a shell globbing (aka wildcard) pattern or GLOBIGNORE list that matches all files, including hidden files, in the current directory ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think I’ve been misunderstood. I don’t want you to let people access hidden files. It’s the other way around.
Ignore all files that have a
.
in front of the file name regardless of extension. And also ignore any other file that doesn’t have a.js
extension.That makes 100% sense. Can you write that in a new issue? 😃