Can't pass dot/hidden files on command line
See original GitHub issueHello,
since JavaScript config files are supported now, can you please consider adding a (at least optional) way to ask eslint
to lint also hidden/dot files (e.g. .eslintrc.js
or .eslintrc.json
with the JSON plugin) if a name to a directory is passed (e.g. eslint .
)?
<bountysource-plugin>
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>
Issue Analytics
- State:
- Created 8 years ago
- Comments:50 (38 by maintainers)
Top Results From Across the Web
Windows command-line command to list hidden folders
Type attrib -s -h -r /s /d *.* and hit Enter . That is it. Now you will get all the hidden files...
Read more >How to exclude/ignore hidden files and directories in a ...
The regex looks for "anything, then a slash, then a dot, then anything" (i.e. all hidden files and folders including their subfolders), and...
Read more >How to Show Hidden Files On Your Computer and Smartphone
For the quickest option, you can show hidden files using the keyboard shortcut CTRL + H. You can also right-click anywhere in a...
Read more >Working with hidden files in Linux - LinuxForDevices
Hidden files in Linux are the files that are not listed when the user runs ls command. The name of a hidden file...
Read more >ls -ad */ won't display hidden directories [duplicate]
When you run ls -a , there are no filenames on the ls command line (as seen by ls ), so it determines...
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 FreeTop 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
Top GitHub Comments
@alberto
Yes because it was passed on the command line.
No because it wasn’t passed on the command line.
Thanks. So this looks like a bug, we should be linting anything passed on the command line. We should fix that.