-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excluding files when linting from command line #130
Comments
I am not sure about the config file, but I believe you can select the files to lint by running with that command line , because we use the "glob" package to resolve the file list |
I could use a glob pattern like this: |
Thanks - I looked into it, and I was mistaken about what the glob package can do. I thought it could handle something like Are you running
|
I use gulp as task runner. I am using Windows, so make is not an option. |
Tricky.. I don't mostly run on Windows. What shell are you using? Cmd or powershell or..? |
+1 |
BTW, you can use modules like globby, glob-all, globule or simple-glob. They support the With just the |
@radek-holy node-jslint has been updated to ask for a newer version of |
How can I exclude files when I lint from the command line?
Ideally, I would like to add an exclusion pattern to the config file, e.g.
{
'./js/.js',
'!./js/.min.js'
}
The text was updated successfully, but these errors were encountered: