question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disallow folders with one file

See original GitHub issue

For me, having only a single file sitting in directory is not nice. For example in this repo: https://github.com/benawad/butler-cli/tree/9ad6e4c11ee096314402060f541047253336c5e1/src/index/formatFileStructure/syncFileSystem/fixImports

I would prefer if butler places the makeImportPath.ts into syncFileSystem folder next to fixImports.ts.

If you could add this disallow-leaf-folders-with-one-file config that would be just great! WDYT?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

2reactions
sQVecommented, Feb 20, 2020

--rename-only-child is even better I think.

0reactions
github-actions[bot]commented, Mar 4, 2020

🎉 This issue has been resolved in version 0.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apache - How to deny directory but allow one file in that ...
It works perfectly if it is configured properly: <Directory /var/www/denied_directory> Order allow,deny <Files test.php> Order deny,allow </Files> ...
Read more >
Stop sharing OneDrive or SharePoint files or folders, or ...
Learn how to stop sharing your files and folders on OneDrive. You can lock a document, disable sharing links, or stop sharing with...
Read more >
Remove all files/directories except for one file
To remove directories, change -type f to -type d and add -r option to rm . In bash , to use rm --...
Read more >
Exclude Files and Folders in Windows 10's Quick Access
One customization option for Quick Access in Windows 10 is the ability to disable displaying recently used files and/or folders.
Read more >
How to Block Access to Folder in Windows 10 - YouTube
How to Block Access to Folder in Windows 10If you want to give a guest or visitor access to your computer, but want...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found