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.

Can't pass dot/hidden files on command line

See original GitHub issue

Hello, 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:closed
  • Created 8 years ago
  • Comments:50 (38 by maintainers)

github_iconTop GitHub Comments

4reactions
michaelficarracommented, Mar 16, 2016

@alberto

So if we do eslint node_modules should we also lint that?

Yes because it was passed on the command line.

What about eslint . with a node_modules folder?

No because it wasn’t passed on the command line.

4reactions
nzakascommented, Mar 9, 2016

Thanks. So this looks like a bug, we should be linting anything passed on the command line. We should fix that.

Read more comments on GitHub >

github_iconTop 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 >

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